SeaBattle/rust/sea_battle_backend
Pierre Hubert 09b40c8138
All checks were successful
continuous-integration/drone/push Build is passing
Merge pull request 'Update Rust crate actix to 0.13.1' (#111) from renovate/actix-0.x into master
Reviewed-on: #111
2023-11-28 17:00:47 +00:00
..
src Bump to version 0.1.0 -> 0.2.0 2022-10-18 09:39:54 +02:00
Cargo.toml Merge pull request 'Update Rust crate actix to 0.13.1' (#111) from renovate/actix-0.x into master 2023-11-28 17:00:47 +00:00
README.md Improve READMEs 2022-10-17 20:25:19 +02:00

Sea battle backend

Build Status Crate Documentation

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/

Installation

You can install the backend using the following command:

cargo install sea_battle_backend

Usage

sea_battle_backend -l 0.0.0.0:7000

Note: a reverse-proxy must be used to protect

Client

A command-line client is available in the sea_battle_cli_player crate.