I used the 1.0.0-alpha version. Here's how I did it:
- Download the 1.0.0-alpha binaries here (not the nightly build!)
- Extract the .tar
cd
into the new directory and runsh install.sh
By installing this way, you also get Cargo, the Rust build tool.
git clone https://github.com/davetttt/ttt_rust.git
cd ttt_rust
cargo test
- One of the tests plays two minimax players against one another and may take a while (30 seconds) to run.
cargo test
deletes the executable if one exists (so you'll have tocargo build
again).
cargo build
./target/ttt_rust