This repository documents my journey learning the Rust programming language. It contains various projects, exercises, and notes as I explore different aspects of Rust.
/guessing-game
: A simple number guessing game
Located in /guessing-game
, this is a simple number guessing game implemented in Rust.
- Random number generation
- User input handling with validation
- Colored console output
- Attempt counter
Navigate to the /guessing-game
directory and run:
cargo run
For more details, see the Guessing Game README.
To run any of the projects in this repository:
- Ensure you have Rust installed. If not, get it from https://www.rust-lang.org/.
- Clone this repository:
git clone https://github.com/yourusername/rust-learning.git cd rust-learning
- Navigate to the specific project directory you want to explore.
- Follow the instructions in the project's README or run
cargo run
if it's a runnable project.
- Implementing a simple game (Guessing Game)
While this is a personal learning repository, suggestions and tips are always welcome! Feel free to open an issue if you have any recommendations or spot any mistakes.
This project is open source and available under the MIT License.