Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/furqanhun/guessing-game-rust
just the guessing game in rust (created while reading ch2 of rust docs) the only idfference is refactoring of code or creating modules ig.
https://github.com/furqanhun/guessing-game-rust
Last synced: 1 day ago
JSON representation
just the guessing game in rust (created while reading ch2 of rust docs) the only idfference is refactoring of code or creating modules ig.
- Host: GitHub
- URL: https://github.com/furqanhun/guessing-game-rust
- Owner: FurqanHun
- Created: 2024-09-15T14:18:28.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-15T14:31:22.000Z (4 months ago)
- Last Synced: 2024-09-15T15:47:33.460Z (4 months ago)
- Language: Rust
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Guessing Game in Rust
This is a simple guessing game written in Rust. The program generates a random number between 1 and 100 and asks the user to guess the number. The user has an unlimited number of attempts to guess the number. The program will provide feedback to the user if the guess is too high or too low. The game will end when the user guesses the correct number.## Some Thoughts
I wrote this program to learn Rust and practice writing simple programs in Rust.I created it while reading the book [The Rust Programming Language](https://doc.rust-lang.org/book/).
_Ch 02 of it is literally this game. The only thing i did different is i refactored the code like just divided it into modules that's it._
I'm still learning Rust, so if you have any suggestions or improvements, feel free to contact me.
- You can watch the live stream replay of me creating it at [Qanii - YouTube](https://www.youtube.com/watch?v=-ashDx01dvk)