The old school tic tac toe game implemented in rust. The idea is to get familiarized with rust.
-
Install rust For macos / linux (taken from official docs)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
clone repo
-
open the cloned folder in a terminal
-
cargo run
The main branch might not be always working, if it's not working try branch vX
1. Able to play the game and show the winner or detect if draw
- Add validation to position input
- Switch from String to str (not sure if thats better)
- Better solution currently naive
- Refactor code
- Try to remove all the mut used (is supposed to be the rust way?)
- algo to find if only draw possible in next move ?