Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add planning sessions #9

Closed
4 tasks done
antonkomarev opened this issue Aug 14, 2022 · 0 comments
Closed
4 tasks done

Add planning sessions #9

antonkomarev opened this issue Aug 14, 2022 · 0 comments

Comments

@antonkomarev
Copy link
Member

antonkomarev commented Aug 14, 2022

Right now Game entity is what should be renamed to Session. And Game should become container of the Sessions.

There might be only one active Game in one Chat.

  • Game start
  • Game session attach
  • Game end
  • Game statistics

Planning Game Start

Command /game {game_name} starts game with provided name.

When game is starting, Bot sends a message:

Planning poker started: {game_name}

If {game_name} is empty — default name is (no game name).

If there is active game Bot should say that Game already started and you can't start a new one unless it's ended.

Planning Game Process

If Game in Chat is active — all Sessions will have game_id related to active Game.

If source message text is edited active Game message should be renamed as well.

Planning Game End

Command /game_end ends currently started Game.

When Game ends — Bot sends statistics:

Message should be sent with disable_web_page_preview=True.

@antonkomarev antonkomarev changed the title Add sessions Add planning sessions Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant