https://github.com/RustyDaemon/rust-guess
Next-level guessing game with TUI and leaderboard
https://github.com/RustyDaemon/rust-guess
guess-game learning learning-rust rust tui
Last synced: 4 months ago
JSON representation
Next-level guessing game with TUI and leaderboard
- Host: GitHub
- URL: https://github.com/RustyDaemon/rust-guess
- Owner: RustyDaemon
- License: mit
- Created: 2024-05-29T20:12:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-15T12:33:55.000Z (over 1 year ago)
- Last Synced: 2025-05-30T03:39:15.772Z (9 months ago)
- Topics: guess-game, learning, learning-rust, rust, tui
- Language: Rust
- Homepage:
- Size: 53.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust Guess Game
> Quite unique game, where you have to guess the number between different ranges. The game will give you hints if the number is too high or too low.
This project is a part of the Rust learning process that I am currently doing. So there are some imperfections and not the best practices used in the project.
## What is inside?
- 🔹 Terminal UI (TUI) (`📦 ratatui`)
- 🔹 Leaderboard in json file (`📦 serde` and `📦 serde_json`)
- 🔹 Random number generation (`📦 rand`)
- 🔹 Colored output (`📦 colored`)
- 🔹 Dates and time (`📦 chrono`)
- 🔹 User input handling
- 🔹 Game logic
- 🔹 Files and folders separation (mods)
## How to run and play?
1. Clone the repository
2. Run `cargo run` in the terminal
3. Try to win 🧐
## Code quality
Since this project is a part of the learning process, I tried to make the code as clean as possible. However, it may be (and it is) far from perfect. If you have any suggestions or improvements, feel free to open an issue or a pull request.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
Cargo(s) used in the project are licensed under their respective licenses.