A chess server written in Go. The m stands for magnificent.
Go to file
Marco d7c4f28f3a Fix endpoint for getting lobby id from passphrase
Had to add several helpers (e.g. passphrase ones) to make the endpoint
for getting lobby id work.

Moved all handler functions into handler package.

Added test for getting lobby from passphrase.
2024-05-09 22:29:48 +02:00
.vscode First commit 2022-10-22 20:01:55 +02:00
api Introduce handler to get lobby info from passphrase 2024-05-07 23:39:05 +02:00
chess Do not remove a disconnected player from the 'player' slice since that crashes the server 2024-04-23 19:29:32 +02:00
connection Introduce check if the game has ended (checkmate/stalemate) 2024-01-17 23:06:48 +01:00
handler Fix endpoint for getting lobby id from passphrase 2024-05-09 22:29:48 +02:00
lobby_registry Another step towards allowing reconnections 2023-12-09 21:00:52 +01:00
types Introduce check if the game has ended (checkmate/stalemate) 2024-01-17 23:06:48 +01:00
usher Fix nil pointer dereference. 2023-07-11 18:21:54 +02:00
utils Fix endpoint for getting lobby id from passphrase 2024-05-09 22:29:48 +02:00
.gitignore Add .gitignore. Ignore binary mchess_server 2023-11-26 19:21:38 +01:00
README Add mechanic for passphrases. 2023-06-28 19:51:36 +02:00
go.mod Introduce handler to get lobby info from passphrase 2024-05-07 23:39:05 +02:00
go.sum Introduce handler to get lobby info from passphrase 2024-05-07 23:39:05 +02:00
main.go Fix endpoint for getting lobby id from passphrase 2024-05-09 22:29:48 +02:00

README

Prerequisites:
    1. Install a word file:
        the server uses babbler that expects a word list at /usr/share/dict/words in order to generate the passphrases for lobbies.