turnbase-cli 0.1.1

Generic command-line runner for Turnbase games: headless play, self-play, and interactive play
Documentation

turnbase-cli

crates.io docs.rs

Generic command-line runner for Turnbase games.

Turns a [turnbase] game into a playable binary with a one-line main: headless self-play, text play, or the full terminal dashboard.

fn main() {
    turnbase_cli::run_tui(MyGame::default());
}

The tui feature (on by default) pulls in the dashboard; disable it for a text-only build that never links a terminal UI.

Install

[dependencies]
turnbase-cli = "0.1"

Where this sits

Part of the turnbase workspace. See the workspace README for the full crate list and ARCHITECTURE.md for the design.

License

Dual-licensed under either of Apache-2.0 or MIT at your option.