A sea battle shell client player for the seabattlebackend crate, based on the tui library.
For the 🤖 bot and ➕ create invite modes, game rules can be customized before starting the game.
You can install the backend using the following command:
bash
cargo install sea_battle_cli_player
Simply launch using:
bash
sea_battle_cli_player
If you want to run a local server to play offline LAN games, the cli player can also act as the server:
bash
RUST_LOG=info sea_battle_cli_player -s -l 0.0.0.0:7000
Then all the players must specify the address of this server to use it instead of the default official one:
bash
sea_battle_cli_player -r http://IP_OF_TARGET:7000