mchess-server/chess
Marco 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
..
bishop.go Make en passant and castling work. 2023-07-05 21:15:01 +02:00
board.go Introduce PGN helpers 2023-08-12 11:24:40 +02:00
board_test.go Introduce PGN helpers 2023-08-12 11:24:40 +02:00
free_squares.go Implement thread-safe ringbuffer for websocket messages 2023-11-26 21:37:14 +01:00
game.go Handle reconnection 2023-11-27 00:17:07 +01:00
king.go Introduce PGN helpers 2023-08-12 11:24:40 +02:00
knight.go Make en passant and castling work. 2023-07-05 21:15:01 +02:00
pawn.go code upkeep 2023-10-12 21:03:12 +02:00
pgn.go Add position to websocket message. 2023-08-14 00:05:47 +02:00
pgn_test.go Add position to websocket message. 2023-08-14 00:05:47 +02:00
piece_interface.go Introduce PGN helpers 2023-08-12 11:24:40 +02:00
player.go Handle reconnection 2023-11-27 00:17:07 +01:00
queen.go Introduce PGN helpers 2023-08-12 11:24:40 +02:00
rook.go Introduce PGN helpers 2023-08-12 11:24:40 +02:00
rook_test.go Implement thread-safe ringbuffer for websocket messages 2023-11-26 21:37:14 +01:00
violation.go Introduce PGN helpers 2023-08-12 11:24:40 +02:00