I wrote this application in Rust to learn the basic syntax and functionality of the lanuage.
It is a game of tic-tac-toe for two players where each player takes turns placing their mark on the gameboard. You win by putting three of your game pieces in a row, column, or diagonal.
The main game code is located in src/main.rs The Cargo.toml file contains dependencies needed for the game to execute
- To run the game you need to perform "cargo build" and "cargo run" in the tic-tac-toe directory.
- Viusal Studio Code
- Rustup Installer
- Rust 1.67.1
- Cargo 0.1.0
- Rust-Analyzer VS extension
- CodeLLDB VS extension
- Crates v0.5.1 extension
- Git / GitHub
{Make a list of websites that you found helpful in this project}
- W3Schools - Rust
- Rust in Visual Studio Code
- Rust.org Library
- Geeks for Geeks - How to setup Rust in VSCode
- The Cargo Book - a rust compiler & package manager
Future enhancements I would like to include:
- Make a single player version
- Add sound effects to the game for each move and winning
- Create a score tracker to keep score of games won by each player