Commit Graph

9 Commits

Author SHA1 Message Date
7f206b15fe Pieces are now an interface and starting to enforce rules. 2023-06-20 23:53:54 +02:00
d5b8bdf630 Start detecting checks. 2023-06-14 19:46:46 +02:00
c205c4dc86 Comments to not forget how to check checkmate 2023-06-14 00:59:16 +02:00
060ac8ad9e Add groundwork for checking rules. 2023-06-12 22:32:31 +02:00
7544bf0563 Refactor some of the game handler code 2023-06-08 20:20:37 +02:00
b6bb75376d Fix waiting for websockets connection. 2023-06-06 22:58:33 +02:00
e90fb7a0dc Transform communication of moves to api types. 2023-06-02 23:41:43 +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