Marco
6cbd7d37aa
1. Make lobby a struct containing the players and a mutex used to lock itself 2. Wait for websocket connections to be established by both players before starting the game. 3. Add methods to write to and read from players |
||
---|---|---|
.. | ||
chess_move.go | ||
game.go | ||
lobby.go | ||
player.go | ||
server.go |