Open
Description
Goals
Players can open the game view on their main screen. Upon loading, a new game session is created. The view displays a QR code that can be scanned, to join the game. A link is also provided.
The QR code / link brings players to an URL. Upon joining, the player joins the game session. The first joiner becomes the owner of the session.
All players can confirm their readiness. Once all players confirm, the game starts. Once the game has started, no more players can join.
The game session is thrown away when all players leave.
Out of scope
- Reconnection, i.e. what if someone temporarily disconnects
- Server can hand out reconnect tokens
- State persistence
Breakdown
Depends on #13
- Implement a reusable Repository class #37
- Session management #23
- Participant management #24
- Implement new game endpoint #38
- Lobby view endpoint #25
- Participant setup view endpoint #26
- Implement WebSocket commands / events #40
- Implement authentication
- TODO