cybercog / telegram-devpoker-bot

Planning Poker (Scrum Poker) for Agile software development teams. The bot allows you to introduce a consensus-based, gamified technique of task estimating into Telegram group chats.
MIT License
6 stars 3 forks source link

Add planning sessions #9

Closed antonkomarev closed 2 years ago

antonkomarev commented 2 years ago

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.

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.