{"id":23288548,"url":"https://github.com/kernferm/rust-guessing-game","last_synced_at":"2026-03-09T13:38:03.167Z","repository":{"id":255273110,"uuid":"849080043","full_name":"KernFerm/rust-guessing-game","owner":"KernFerm","description":"Welcome to the Guess the Number game! 🎉 This is a fun and simple text-based game with an interactive interface where you try to guess a randomly generated number between 0 and 100. The game includes hints, limited attempts, and a user-friendly Text User Interface (TUI) to keep you engaged! 😄","archived":false,"fork":false,"pushed_at":"2025-05-20T21:57:34.000Z","size":496,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T21:37:45.963Z","etag":null,"topics":["guess-the-number","interactive","rust","user-friendly"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KernFerm.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-29T00:04:48.000Z","updated_at":"2025-05-20T21:57:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"943c9d07-99b4-4be7-92cb-3e0aab54db84","html_url":"https://github.com/KernFerm/rust-guessing-game","commit_stats":null,"previous_names":["kernferm/rust-guessing-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KernFerm/rust-guessing-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Frust-guessing-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Frust-guessing-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Frust-guessing-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Frust-guessing-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KernFerm","download_url":"https://codeload.github.com/KernFerm/rust-guessing-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Frust-guessing-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30297227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T11:12:22.024Z","status":"ssl_error","status_checked_at":"2026-03-09T11:10:54.577Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["guess-the-number","interactive","rust","user-friendly"],"created_at":"2024-12-20T03:20:37.531Z","updated_at":"2026-03-09T13:38:03.137Z","avatar_url":"https://github.com/KernFerm.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\r\n  \u003cimg src=\"https://github.com/KernFerm/rust-guessing-game/blob/main/banner/Guess_The_Number_Game-logo.png\" alt=\"Guess The Number Game\" width=\"500\"/\u003e\r\n\u003c/div\u003e\r\n\r\n# ❓❓ Guess the Number Game ❓❓ \r\n\r\nWelcome to the Guess the Number game! 🎉 This is a fun and simple text-based game with an interactive interface where you try to guess a randomly generated number between 0 and 100. The game includes hints, limited attempts, and a user-friendly Text User Interface (TUI) to keep you engaged! 😄\r\n\r\n- [https://discord.gg/FxJd3PxXbc](https://discord.gg/FxJd3PxXbc)\r\n\r\n## Support the Project ⭐\r\n\r\nIf you find this project useful, please give it a star! Your support is appreciated and helps keep the project growing. 🌟\r\n-----\r\n\r\n## 📜 Description\r\n\r\nThis project is a **Rust** implementation of the classic \"Guess the Number\" game. The program generates a random number between 0 and 100, and the player must guess it within 7 attempts. The game provides feedback on whether the guess is too high, too low, or correct. Players are also offered up to 3 hints to assist them during the game.\r\n\r\nThis program was built and tested on a **64-bit Windows system** using the `pancurses` library for the interface.\r\n\r\n## ✨ Features\r\n\r\n- 🎲 **Random number generation** between 0 and 100.\r\n- 🎮 **7 attempts** to guess the correct number.\r\n- 💡 **Up to 3 optional hints** to help guide your guesses.\r\n- 📊 **Feedback** on whether the guess is too high, too low, or correct.\r\n- 🖥️ **User-friendly interface** built using the `pancurses` library.\r\n\r\n# 📁 Project Structure\r\n\r\nHere is the structure of the **Guess the Number Game** project:\r\n\r\n- 📂 **.github/ISSUE_TEMPLATE**: Contains templates for issue reporting.\r\n- 📂 **banner**: Includes project banners and images (e.g., game banners).\r\n- 📂 **src**: Source code of the project.\r\n- 📄 **.gitignore**: Defines which files and directories should be ignored by Git.\r\n- 📜 **CODE_OF_CONDUCT.md**: Code of conduct guidelines for contributors.\r\n- 🔒 **Cargo.lock**: Lock file for dependencies, automatically generated.\r\n- 📄 **Cargo.toml**: Cargo configuration file containing project dependencies and settings.\r\n- 📄 **LICENSE**: Custom license for the project detailing the conditions under which the software may be used, learned from, or modified.\r\n- 📄 **readme.md**: The main README file with game instructions, setup, and information.\r\n\r\n## 🛠️ Prerequisites\r\n\r\nTo run this project, you need:\r\n- **Rust** and **Cargo** installed on your system.\r\n- A **64-bit Windows** system (for compatibility with this build).\r\n\r\n### Installing Rust and Cargo\r\n\r\nIf you don't have Rust and Cargo installed, follow these steps:\r\n\r\n1. Go to the [Rust installation page](https://www.rust-lang.org/tools/install).\r\n2. Follow the instructions to download and run the installer for your operating system.\r\n3. After installation, you can verify that Rust and Cargo are installed by running the following commands in your terminal:\r\n    ```\r\n    rustc --version\r\n    cargo --version\r\n    ```\r\n\r\n## 🚀 Installation\r\n\r\n1. Clone or download the project files to your local machine:\r\n    ```\r\n    git clone https://github.com/kernferm/rust-guessing-game.git\r\n    ```\r\n2. Navigate to the project directory:\r\n    ```\r\n    cd rust-guessing-game\r\n    ```\r\n\r\n## 🕹️ Usage\r\n\r\nTo build and run the game, use the following commands:\r\n\r\n1. Open a terminal and navigate to the project directory.\r\n2. Build the project using Cargo:\r\n    ```\r\n    cargo build\r\n    ```\r\n3. Run the game:\r\n    ```\r\n    cargo run\r\n    ```\r\n\r\n### 🎮 Gameplay\r\n\r\n- Once the game starts, follow the instructions on the screen.\r\n- You have **7 attempts** to guess the number between 0 and 100.\r\n- After each guess, the program will tell you if your guess is too high, too low, or correct.\r\n- You have the option to use up to **3 hints** during the game to help narrow down the correct number.\r\n\r\n## 🖥️ Built On\r\n\r\nThis game was built and tested on:\r\n- **64-bit Windows 10** using Rust and the `pancurses` library.\r\n\r\n## 🤝 Contributing\r\n\r\nContributions are welcome! If you'd like to contribute:\r\n\r\n1. Fork the repository.\r\n2. Create a new branch (`git checkout -b feature-branch`).\r\n3. Make your changes.\r\n4. Commit your changes (`git commit -m 'Add some feature'`).\r\n5. Push to the branch (`git push origin feature-branch`).\r\n6. Open a pull request.\r\n\r\n## 📄 License\r\n### Learn-and-Use License\r\n\r\nCopyright (c) 2024 Bubbles The Dev \u0026 FNBUBBLES420 ORG\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining a copy\r\nof this software and associated documentation files (the \"Software\"), to use\r\nand learn from the Software, subject to the following conditions:\r\n\r\n1. **Usage**: The Software may be used for personal, educational, or non-commercial purposes only.\r\n2. **Learning**: Users are permitted to study the code to learn from it.\r\n3. **Modifications**: No modifications or derivative works of the Software are allowed without prior written consent from the original developer.\r\n4. **Redistribution**: The Software may not be redistributed, sold, or sublicensed in any form without express permission from the original developer.\r\n5. **Commercial Use**: The Software may not be used for commercial purposes without explicit written approval from the original developer.\r\n\r\n### Conditions\r\n\r\n- Any use of the Software that violates the terms of this license will result in revocation of permission to use, study, or learn from the Software.\r\n- You are not permitted to remove or alter the copyright notice or this permission notice.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\nFITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER\r\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM,\r\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\r\nSOFTWARE.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernferm%2Frust-guessing-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkernferm%2Frust-guessing-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernferm%2Frust-guessing-game/lists"}