A tictactoe implementation on the terminal (minimax algorithm), written in Rust.
- Grid display on the terminal
- Bot or pass-to-play
- 'X'/'O' players
- Rust (stable) — install via rustup
Clone the repository and build it in release mode:
git clone https://github.com/CieriA/minimax-tictactoe
cd minimax-tictactoe
cargo build --releasecargo run --release- 1-9 -> to index the board from the terminal
This project uses the following crates:
- colored
To build the documentation locally:
cargo doc --openThis project is licensed under the ISC License. For more info see the LICENSE file.