{"id":18859538,"url":"https://github.com/vishwas567917/number-guessing-game","last_synced_at":"2026-03-02T19:33:45.964Z","repository":{"id":247708215,"uuid":"826627128","full_name":"Vishwas567917/Number-guessing-game","owner":"Vishwas567917","description":"Number Guessing Game is a command-line application developed in C. It prompts players to guess a randomly generated number within a specified range, providing feedback on each guess. Ideal for practicing loops, conditionals, and random number generation in C.","archived":false,"fork":false,"pushed_at":"2024-07-10T04:47:59.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T16:21:02.255Z","etag":null,"topics":["c","game","random-number"],"latest_commit_sha":null,"homepage":"","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/Vishwas567917.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-07-10T04:33:21.000Z","updated_at":"2024-07-10T05:11:43.000Z","dependencies_parsed_at":"2024-07-10T07:12:17.429Z","dependency_job_id":null,"html_url":"https://github.com/Vishwas567917/Number-guessing-game","commit_stats":null,"previous_names":["vishwas567917/number-guessing-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vishwas567917%2FNumber-guessing-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vishwas567917%2FNumber-guessing-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vishwas567917%2FNumber-guessing-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vishwas567917%2FNumber-guessing-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vishwas567917","download_url":"https://codeload.github.com/Vishwas567917/Number-guessing-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593178,"owners_count":19825939,"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","game","random-number"],"created_at":"2024-11-08T04:18:22.643Z","updated_at":"2026-03-02T19:33:40.932Z","avatar_url":"https://github.com/Vishwas567917.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Number Guessing Game\n\nThis project is a simple number guessing game implemented in C. The program generates a random number between 1 and 100, and the user tries to guess the number with hints provided by the program.\n\n## Features\n\n- Generates a random number between 1 and 100.\n- Provides hints if the guessed number is higher or lower than the generated number.\n- Counts the number of attempts taken to guess the number correctly.\n\n## Technologies Used\n\n- **C**: The programming language used to implement the game.\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Vishwas567917/number-guessing-game.git\n2. Navigate to the project directory:\n   ```bash\n   cd number-guessing-game\n3. Compile the code using a C compiler:\n   ```bash\n   gcc -o guessGame guessGame.c\n4. Run the executable:\n   ```bash\n   ./guessGame\nUsage\n1. Run the program.\n2. Follow the prompt to guess the number between 1 and 100.\n3. The program will provide hints if your guess is higher or lower than the generated number.\n4. Keep guessing until you find the correct number.\n5. The program will display the number of attempts taken to guess the number correctly.\n\nFile Structure\nguessGame.c: Main C file containing the number guessing game implementation.\nExample Output\nGuess the number between 1 to 100\n50\nLower number please!\n25\nHigher number please!\n30\nHigher number please!\n35\nYou guessed in 4 attempt\n\nAdditional Code\nIncluded in this repository is another simple program to generate and print a random number between 1 and 100.\n\nExample\n1. Compile the code:\n   ```bash\n   gcc -o generateNumber generateNumber.c\n2. Run the executable:\n   ```bash\n   ./generateNumber\n3.The program will print a randomly generated number between 1 and 100.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishwas567917%2Fnumber-guessing-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvishwas567917%2Fnumber-guessing-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishwas567917%2Fnumber-guessing-game/lists"}