Skip to content

This is a Tic Tac Toe game in Rust. It implements the Minimax Algorithm for decisive AI moves.

License

Notifications You must be signed in to change notification settings

Voltamon/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

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.

Features

  • Human vs Computer gameplay
  • Minimax Algorithm for AI moves
  • Dynamic board display

Getting Started

To set up the project, follow these steps:

  1. Ensure you have Rust installed on your machine. If not, you can install it from rust-lang.org.
  2. Clone this repository:
  3. Navigate into the project directory:
  4. cd Tic_Tac_Toe
  5. Compile and run the project:
  6. cargo run -q --bin tictactoe.rs

Example Output

About

This is a Tic Tac Toe game in Rust. It implements the Minimax Algorithm for decisive AI moves.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages