A backend HTTP server for the Sea Battle game. The binary included in this crate can be used to deploy a server that will allow players to connect to play together.
The actix-web
library is used to spawn HTTP server. The games are encapsulated
inside websockets.
An official server is running at https://seabattleapi.communiquons.org/
You can install the backend using the following command:
bash
cargo install sea_battle_backend
bash
sea_battle_backend -l 0.0.0.0:7000
Note: a reverse-proxy must be used to protect
A command-line client is available in the seabattlecli_player crate.