Crates.io | tactic |
lib.rs | tactic |
version | 1.1.0 |
source | src |
created_at | 2022-09-13 02:21:14.75368 |
updated_at | 2022-10-10 21:15:48.431575 |
description | A terminal tic-tac-toe game with AI opponent |
homepage | |
repository | https://github.com/generic-user1/tactic |
max_upload_size | |
id | 664138 |
size | 94,727 |
A terminal tic-tac-toe game with AI opponent, written in Rust.
Play tic-tac-toe (a.k.a. "noughts and crosses" or "Xs and Os") in the terminal against an AI opponent or another human player.
Play against a friend, play against a computer, or pit two computer players against each other
Configurable computer player difficulty
Configurable game ending settings
Best of x number of games
Best of x number of won (non-draw) games
First player to x score
Unlimited (play until deciding to quit)
Reverse mode
Install the Rust programming language with rustup
Install tactic with cargo install tactic
Install the Rust programming language with rustup
Clone the tactic repository locally
git clone https://github.com/generic-user1/tactic.git
Enter the local copy of the repository
cd tactic
Make changes to source code as desired
Run project with cargo run
To improve game performance (especially with computer players), run in release mode
e.g. cargo run --release
As a user, you likely won't have to worry about these as cargo will take care of downloading and building them for you.