1 stable release
1.0.0 | Jul 3, 2021 |
---|
#713 in Games
32KB
813 lines
Tic-Tac-Toe
Welcome to Tic-Tac-Toe! This is an implementation of the schoolyard game using only bit patterns, built in Rust.
How to Build
- Clone this repository
cargo run --release
- (Optional) If you want documentation on what the code does:
cargo doc --document-private-items --open
- (Optional) If you want to run the tests:
cargo test
How to Play
Select a cell by pressing a number from 1-9. Cells are represented left-to-right, bottom-to-top, so:
- 1-3 is the bottom row
- 4-6 is the centre row
- 7-9 is the top row
lib.rs
:
Welcome to Tic-Tac-Toe!
This crate implements the schoolyard game using only bit patterns.