Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yinkakun/rust-guessing-game
https://github.com/yinkakun/rust-guessing-game
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yinkakun/rust-guessing-game
- Owner: yinkakun
- Created: 2023-01-27T20:35:39.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-28T10:12:01.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T07:11:38.377Z (3 months ago)
- Language: Rust
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# rust-guessing-game
This is a simple command-line game where the user must guess a randomly generated number between 1 and 100.
![Screenshot](/screenshot.png)
## Running the code
To run the code, you will need to have the Rust programming language installed on your computer. You can download it from the official website:
Once you have Rust installed, you can run the code by using Cargo, the package manager for Rust.
Navigate to the folder where the code is located in your command line interface
Run the command cargo run
This will build and run the code, starting the game.Enjoy playing! 🎉