Commit Graph

10 Commits

Author SHA1 Message Date
cce0aa8162 Handle reconnection
reconnection works now if the rejoining player enters the passphrase
again.

Some bugs are still happening:
1. The rejoining client is not told the state of the board
2. Invalid moves are not handled by the client (not sure why though)
3. The still-connected client should be told, that the opponent
   disconnected. Then the client should show the passphrase again
2023-11-27 00:17:07 +01:00
95002fe3c4 Backporting fix for panic-inducing bug. 2023-11-20 01:58:36 +01:00
51d959b01f code upkeep 2023-10-12 21:03:12 +02:00
b052d8e21c Finalize playing in private lobbies. 2023-06-30 01:50:04 +02:00
4b04b3532c Make some minor changes for private games. 2023-06-29 22:20:41 +02:00
1ea2c597be Add mechanic for passphrases. 2023-06-28 19:51:36 +02:00
9793c37582 Many many changes 2023-06-25 16:11:29 +02:00
b6bb75376d Fix waiting for websockets connection. 2023-06-06 22:58:33 +02:00
78ddd4f90f Scrap 2-player waiting room and make it simple. 2023-06-02 21:14:02 +02:00
aac428baab First changes to move away from central registry of all players
1. Introduce 'usher' that opens lobbies and fills it and waits for them
   to be filled
2. Add global registry of all games
2023-05-31 23:55:40 +02:00