This is a simple command-line implementation of the classic Tic Tac Toe game, written in Rust. The game allows a human player to play against a computer opponent that uses the minimax algorithm to determine the best moves.
[Discaimer] I am still learning rust. There may be scope for improvement in the code.
- Human vs Computer gameplay
- Minimax Algorithm for AI moves
- Dynamic board display
To set up the project, follow these steps:
- Ensure you have Rust installed on your machine. If not, you can install it from rust-lang.org.
- Clone this repository:
- Navigate into the project directory:
- Compile and run the project:
cd Tic_Tac_Toe
cargo run -q --bin tictactoe.rs