{"id":20504818,"url":"https://github.com/shivankushsingh09/number-guessing-game","last_synced_at":"2026-06-06T19:31:12.439Z","repository":{"id":249148378,"uuid":"830614558","full_name":"shivankushsingh09/Number-Guessing-Game","owner":"shivankushsingh09","description":"The Number Guessing Game is an interactive C program where the player guesses a random number. Feedback is given for each guess: \"Lower number, please\" if too high, and \"Higher number, please\" if too low. The game displays the total attempts upon a correct guess, using loops and a random number generator for an engaging experience.","archived":false,"fork":false,"pushed_at":"2024-07-26T04:55:57.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T07:55:39.972Z","etag":null,"topics":["basic-game","c-programming-game","guess-challenge","guessing-game","guessing-logic","interactive-game","number-guess","number-match","number-prediction","simple-game"],"latest_commit_sha":null,"homepage":"https://www.w3schools.com/c/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shivankushsingh09.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"License.md","code_of_conduct":null,"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}},"created_at":"2024-07-18T16:01:35.000Z","updated_at":"2024-07-26T04:56:00.000Z","dependencies_parsed_at":"2024-07-18T20:48:53.873Z","dependency_job_id":"b3ccc79b-8066-4ab1-8553-875ec6e39ef1","html_url":"https://github.com/shivankushsingh09/Number-Guessing-Game","commit_stats":null,"previous_names":["shivankushsingh09/number-guessing-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivankushsingh09%2FNumber-Guessing-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivankushsingh09%2FNumber-Guessing-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivankushsingh09%2FNumber-Guessing-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivankushsingh09%2FNumber-Guessing-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivankushsingh09","download_url":"https://codeload.github.com/shivankushsingh09/Number-Guessing-Game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242102643,"owners_count":20072113,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["basic-game","c-programming-game","guess-challenge","guessing-game","guessing-logic","interactive-game","number-guess","number-match","number-prediction","simple-game"],"created_at":"2024-11-15T19:40:23.518Z","updated_at":"2025-03-05T20:51:25.228Z","avatar_url":"https://github.com/shivankushsingh09.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nA simple console-based Number Guessing Game developed in C. The game generates a random number, and the player has to guess it within a limited number of attempts.\n\n## Table of Contents\n\n- [Features](#features)\n- [Technologies Used](#technologies-used)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n- [Contact](#contact)\n\n## Features\n\n- Generates a random number within a specified range.\n- Provides feedback on whether the guess is too high or too low.\n- Limits the number of attempts.\n- Displays the number of attempts and the result of the game.\n\n## Technologies Used\n\n- **Programming Language:** C\n\n## Installation\n\nTo compile and run the Number Guessing Game, follow these steps:\n\n1. **Clone the repository:**\n\n   ```bash\n      git clone https://github.com/shivankushsingh09/Number-Guessing-Game.git\n      cd Number-Guessing-Game\n\n   ```\n\n2. **Compile the program:**\n\nYou can compile the program using gcc. Run the following command in the terminal:\n\n```bash\n   gcc -o number_guessing_game number_guessing_game.c\n```\n\n3. **Run the program:**\n\nAfter compiling, you can run the executable:\n\n```bash\n   ./number_guessing_game\n```\n\n## Usage\n\n1. Start the Game:\n\n   - When you run the program, it will prompt you to guess a number within a predefined range.\n\n2. Input Your Guess:\n\n   - Enter your guess when prompted. The program will indicate whether your guess is too high or too low.\n\n3. Try to Guess the Number:\n\n   - Continue guessing until you either guess the correct number or run out of attempts.\n\n4. Game Over:\n\n   - If you guess the number correctly, the game will congratulate you and display the number of attempts. If you run out of attempts, the game will reveal the correct number and end.\n\n## Example\n\nWelcome to the Number Guessing Game!\n\nGuess a number between 1 and 100: 50\nYour guess is too low. Try again.\n\nGuess a number between 1 and 100: 75\nYour guess is too high. Try again.\n\nGuess a number between 1 and 100: 62\nCongratulations! You guessed the number in 3 attempts.\n\n## Contributing\n\nFeel free to contribute to this project by submitting issues or pull requests. If you have suggestions for improvements or features, please open an issue to discuss them.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](https://github.com/shivankushsingh09/Number-Guessing-Game?tab=MIT-1-ov-file) file for details.\n\n## Contact\n\nFor any inquiries or feedback, please contact:\n\n- Name: Shivankush Singh\n- Email: mygithub09@gmail.com\n- GitHub: https://github.com/shivankushsingh09\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivankushsingh09%2Fnumber-guessing-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivankushsingh09%2Fnumber-guessing-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivankushsingh09%2Fnumber-guessing-game/lists"}