sea_battle_backend

Crates.iosea_battle_backend
lib.rssea_battle_backend
version0.2.1
sourcesrc
created_at2022-10-17 17:17:07.485676
updated_at2024-01-17 18:15:01.117954
descriptionA Sea Battle game backend server
homepage
repositoryhttps://gitea.communiquons.org/pierre/SeaBattle
max_upload_size
id690266
size186,152
Pierre Hubert (pierre42100)

documentation

README

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.

Commit count: 0

cargo fmt