https://github.com/gitsquared/guessing_game
My attempts at learning Rust.
https://github.com/gitsquared/guessing_game
beginner-project guessing-game rust
Last synced: about 2 months ago
JSON representation
My attempts at learning Rust.
- Host: GitHub
- URL: https://github.com/gitsquared/guessing_game
- Owner: GitSquared
- License: wtfpl
- Created: 2018-04-07T12:56:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-11T18:01:10.000Z (over 6 years ago)
- Last Synced: 2025-04-14T01:46:06.909Z (about 2 months ago)
- Topics: beginner-project, guessing-game, rust
- Language: Rust
- Size: 746 KB
- Stars: 19
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Squared's guessing_game
[](https://travis-ci.org/GitSquared/guessing_game) [](https://ci.appveyor.com/project/GitSquared/guessing-game/branch/master)### :tada: Now with autoguess!
\> be me
\> 3 am in the morning
\> "i should learn a new language, been messin' around with javascript for >2 years now"
\> go to [stack overflow's 2018 survey results](https://insights.stackoverflow.com/survey/2018/#most-loved-dreaded-and-wanted)
\> see rust is "most loved language" for 3 years in a row
\> go to [rust website](https://www.rust-lang.org)
\> low-level memory safe super blazing-fast open-source - *whatever, f\*cking take my soul already*
\> grab the book, start reading, make a hello world, make the guessing game example
\> upload it to github
\> party like there's no tomorrow
![]()
![]()
### Current version includes:
* Try to guess a random number between 1 and 100!
* Beautiful CLI with colors and inline-prompts
* *emojis* :open_mouth:
* "autoguess": Let the computer play by itself (with gigantic numbers, while you're at it.)### Future versions will include:
* modular architecture
* server/client interaction over the internet so you REALLY CAN'T CHEAT bcuz the random number will be stored on the other side of the world
* multiplayer with websockets
* something with databases. like, the mongo ones.> Note: Of course all of this is ridiculous and pointless for a bloody guessing game, it's just for the sake of learning how to do these things i usually do in Node.js with Rust.