Giter VIP home page Giter VIP logo

searchndroch_bot's People

Contributors

l-eugene avatar

Forkers

vasiliynovosad

searchndroch_bot's Issues

Game list enhancement

Add inline menu for output of /list command (Add next and prev buttons). Paginate command output.
Show most recent games first (Sort by status and game start time)

Game menu

Create game menu with buttons for major activities: /task, /stat, /status, /info, etc.
Menu should appear on game start and disappear on game over.

Joining game after start issue

"Game started" message and keyboard are not sent to user if he is joining the game after it's started.
Both message and keyboard expected to be sent.

Same keys in different sectors

Same keys in different sectors makes level impossible to complete. Only first sector is closed by key.
Expected to close all levels at once with correct key.

Game statuses should be more concrete.

Do not use NULL as game status. "Future" should be used for freshly created game.
Status value should be validated to be one of allowed values (Future, Running, Over).

Name for groups

Actual: chat name is taken as name of first user, who sent command to bot.
Expected: group title is used if available.

/stat last code time

In output of /stat command print time of last correct code for user (level start time if no codes accepted).

/info message invalid

Show "Game is over" message in answer to /info command if game status is 'Over'. Now start time is shown.

Test mode for author.

Automatically enable this mode after /join command for own game.
/level command to move to defined level.
/reset command to remove all bonuses for tester.

Change display name

Add /name command for player to change his display name (name, shown in stat).

Refactor all classes

  • All methods should be allocated in appropriate classes.
  • Move message templates to separate module.
  • Method input and output should be standard across the code.
  • Document classes.

Cleanup database on errors

Do not store invalid records in database.
If game import failed because of exception, orphaned records are still stored in database. Transaction or cleanup should be used.

/info command parameter

Show game info by given number (if number is not given, show current active game if any).

Add coefficient for points-to-time conversion

Add possibility to enable bonus-to-time conversion to sort teams by time. Bonuses should be multiplied to K (coefficient, defined in scenario file) seconds before decreasing finish time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.