This is a web sockets server for managing multi-player matches of the Czech version of the Mau-Mau game.
It supports:
- multiple parallel games
- log-in with user name only
- games are in-memory only so after restarting the server all games are gone
It is intended as a BE for the mau-mau React app. Its main purpose is for me to get more experience with Haskell and try new concepts (e.g. creating web socket servers).
To run the server you need to:
- Install Stack
- Run the
stack run
command The command will install all the necessary tooling (includingghc
) and run the web sockets server. You can connect to it on a port that will be printed to the console right after the server is started. - Run a compatible client app or get started implementing your own client.
To get more information on how the server communicates with clients see docs/API.md for an overview of important state transitions from the client perspective. You can also find there details about each message exchanged between the client and the server
If you have any feedback regarding this application or its documentation, please, submit an issue here or drop me a mail at lojdaj@seznam.cz
.