{"id":23652035,"url":"https://github.com/mostafahima/guess-number-game","last_synced_at":"2025-11-16T21:30:15.843Z","repository":{"id":268542601,"uuid":"904644261","full_name":"MostafaHima/Guess-Number-Game","owner":"MostafaHima","description":"The Guess Number Game is a fun Python game where players guess a random number with different difficulty levels and feedback.","archived":false,"fork":false,"pushed_at":"2024-12-17T11:28:04.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T16:49:56.535Z","etag":null,"topics":["guessing-game","python","random","script"],"latest_commit_sha":null,"homepage":"","language":"Python","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/MostafaHima.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-12-17T09:37:02.000Z","updated_at":"2024-12-17T12:32:16.000Z","dependencies_parsed_at":"2024-12-17T12:38:34.735Z","dependency_job_id":null,"html_url":"https://github.com/MostafaHima/Guess-Number-Game","commit_stats":null,"previous_names":["mostafahima/guess-number-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostafaHima%2FGuess-Number-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostafaHima%2FGuess-Number-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostafaHima%2FGuess-Number-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostafaHima%2FGuess-Number-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MostafaHima","download_url":"https://codeload.github.com/MostafaHima/Guess-Number-Game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239611993,"owners_count":19668274,"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":["guessing-game","python","random","script"],"created_at":"2024-12-28T16:50:09.281Z","updated_at":"2025-11-16T21:30:15.797Z","avatar_url":"https://github.com/MostafaHima.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Guess Number Game\n\n## Introduction\nThe **Guess Number Game** is a simple interactive Python program where the user tries to guess a randomly generated number. The program provides difficulty levels and gives feedback to guide the player.\n\n## Features\n- **Dynamic Difficulty**: Choose between 'easy' (10 attempts) or 'hard' (5 attempts).\n- **Clear Feedback**: The program informs you if your guess is too high or too low.\n- **Replayable**: Play as many times as you'd like without restarting the program.\n\n## How to Run\n1. Ensure you have **Python 3.x** installed on your system.\n2. Clone or download the project files.\n3. Run the script using the terminal:\n   ```bash\n   python main.py\n   ```\n\n## Rules\n1. The computer generates a random number between 1 and 100.\n2. Select a difficulty level:\n   - **Easy**: 10 attempts to guess the number.\n   - **Hard**: 5 attempts to guess the number.\n3. Enter a number when prompted.\n4. Feedback will guide you whether your guess is:\n   - **Too High**\n   - **Too Low**\n5. You win by guessing the correct number within the allowed attempts.\n\n## Example Run\n```\nWelcome to the Guess a Number Game!\nI'm thinking of a number between 1 and 100\n----------------------------------------------\n\nChoose a difficulty. Type 'easy' or 'hard': easy\n\nYou have 10 attempts remaining to guess the number.\nMake a guess: 50\nToo low. Try again.\nYou have 9 attempts remaining.\n\nMake a guess: 75\nToo high. Try again.\nYou have 8 attempts remaining.\n\nMake a guess: 63\nCongratulations! You guessed the number correctly.\n```\n\n## Requirements\n- Python 3.x\n\n## Dependencies\n- `pyfiglet`: For displaying ASCII art (install it using `pip install pyfiglet`).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostafahima%2Fguess-number-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmostafahima%2Fguess-number-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostafahima%2Fguess-number-game/lists"}