theadell / kickbot

The easy way to get your office foosball games rolling. Handles game invites and lineups on Slack, so you can focus on the fun.
MIT License
2 stars 0 forks source link

Implement game timeout #2

Closed theadell closed 9 months ago

theadell commented 9 months ago

Issue

Currently, games that do not reach the required player quorum remain indefinitely in the GameFormation state, blocking the initiation of new games in the same channel. This situation persists until all players manually leave the game, which is not always practical. To solve this, a timeout mechanism that automatically deletes a game if it fails to reach a quorum within a specified time frame should be implemented.

Expected behavior