{"id":18744963,"url":"https://github.com/rkstudio585/number-guessing-game","last_synced_at":"2025-06-12T15:07:07.914Z","repository":{"id":256885419,"uuid":"850554672","full_name":"rkstudio585/number-guessing-game","owner":"rkstudio585","description":"Number Guessing Game is a C program where players guess a random number between 1 and 100. With up to 10 attempts, users receive feedback on whether their guesses are too high or low. It's a fun and interactive way to test your guessing skills!","archived":false,"fork":false,"pushed_at":"2024-09-01T05:51:21.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T07:33:09.686Z","etag":null,"topics":["c-program","cprogramming","game","games","guessing","guessing-game","number","number-guessing","number-guessing-game","number-theory","program","programming"],"latest_commit_sha":null,"homepage":"https://github.com/mdriyadkhan585","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rkstudio585.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-09-01T05:36:12.000Z","updated_at":"2024-09-01T06:42:51.000Z","dependencies_parsed_at":"2024-09-13T16:23:15.067Z","dependency_job_id":"6f0a1e21-b404-42e3-94d5-6acaf4709e12","html_url":"https://github.com/rkstudio585/number-guessing-game","commit_stats":null,"previous_names":["rkstudio585/number-guessing-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rkstudio585/number-guessing-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Fnumber-guessing-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Fnumber-guessing-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Fnumber-guessing-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Fnumber-guessing-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rkstudio585","download_url":"https://codeload.github.com/rkstudio585/number-guessing-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rkstudio585%2Fnumber-guessing-game/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259490543,"owners_count":22865766,"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":["c-program","cprogramming","game","games","guessing","guessing-game","number","number-guessing","number-guessing-game","number-theory","program","programming"],"created_at":"2024-11-07T16:16:27.879Z","updated_at":"2025-06-12T15:07:07.891Z","avatar_url":"https://github.com/rkstudio585.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Number Guessing Game 🎲\n---\n[In Python](https://github.com/mdriyadkhan585/number-guessing-game_Python)\n\n![Logo](logo.svg)\n\n---\nWelcome to the **Number Guessing Game**! This is a simple C program where you try to guess a randomly selected number between 1 and 100. It's a fun way to test your guessing skills and see how many attempts it takes you to get it right!\n\n## 📜 Description\n\nThe game generates a random number between 1 and 100. Your goal is to guess this number. The game will provide feedback on whether your guess is too high or too low and will keep track of the number of attempts you make. You have a maximum of 10 attempts to guess the number correctly.\n\n## 🛠️ Features\n\n- Random number generation between 1 and 100.\n- Feedback on whether your guess is too high or too low.\n- Attempt counter with a maximum of 10 attempts.\n- Friendly and engaging output format.\n\n## 🚀 Getting Started\n\nFollow these instructions to get the game up and running on your local machine.\n\n### Prerequisites\n\nYou need to have a C compiler installed on your system. For example, you can use GCC.\n\n### Installation\n\n1. **Clone the Repository**\n\n   ```bash\n   git clone https://github.com/mdriyadkhan585/number-guessing-game\n   ```\n\n2. **Navigate to the Project Directory**\n\n   ```bash\n   cd number-guessing-game\n   ```\n\n3. **Compile the Program**\n\n   ```bash\n   gcc -o number_guessing_game number_guessing_game.c\n   ```\n\n4. **Run the Program**\n\n   ```bash\n   ./number_guessing_game\n   ```\n\n## 🎮 How to Play\n\n1. **Start the Game**: Run the executable file. The game will generate a random number between 1 and 100.\n\n2. **Make a Guess**: Enter your guess when prompted. The program will tell you if your guess is too high or too low.\n\n3. **Continue Guessing**: You have a maximum of 10 attempts to guess the correct number.\n\n4. **Win or Lose**: If you guess the number correctly within 10 attempts, you'll win the game. If not, the correct number will be revealed at the end.\n\n## 📖 Example Output\n\n```\n====================================\n   Welcome to the Number Guessing Game!\n====================================\nI have selected a number between 1 and 100.\nCan you guess what it is?\n\nAttempt 1/10\nEnter your guess: 50\nYour guess is too high! Try again.\n\nAttempt 2/10\nEnter your guess: 25\nYour guess is too low! Try again.\n\nAttempt 3/10\nEnter your guess: 37\nCongratulations! You guessed the number 37 in 3 attempts.\n\nGame Over\n====================================\n```\n\n## Repository Profile \n\n\n- **GitHub**: [https://github.com/mdriyadkhan585](https://github.com/mdriyadkhan585)\n\nHappy guessing! 🎉\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkstudio585%2Fnumber-guessing-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frkstudio585%2Fnumber-guessing-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frkstudio585%2Fnumber-guessing-game/lists"}