{"id":23652023,"url":"https://github.com/mostafahima/hangman-game","last_synced_at":"2025-10-03T15:02:08.999Z","repository":{"id":268548337,"uuid":"904705134","full_name":"MostafaHima/Hangman-Game","owner":"MostafaHima","description":"A simple Python Hangman game where players guess letters to reveal a hidden word before running out of lives.","archived":false,"fork":false,"pushed_at":"2024-12-17T12:05:25.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T16:49:49.874Z","etag":null,"topics":["hangman","pyfiglet","python","python-script","random"],"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-17T11:56:13.000Z","updated_at":"2024-12-17T12:06:45.000Z","dependencies_parsed_at":"2024-12-17T13:19:07.921Z","dependency_job_id":"f540ca20-6233-417d-9dc3-466bb72d0a2b","html_url":"https://github.com/MostafaHima/Hangman-Game","commit_stats":null,"previous_names":["mostafahima/hangman-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostafaHima%2FHangman-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostafaHima%2FHangman-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostafaHima%2FHangman-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MostafaHima%2FHangman-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MostafaHima","download_url":"https://codeload.github.com/MostafaHima/Hangman-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":["hangman","pyfiglet","python","python-script","random"],"created_at":"2024-12-28T16:50:08.129Z","updated_at":"2025-10-03T15:02:07.894Z","avatar_url":"https://github.com/MostafaHima.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hangman Game\n\n## Description\n\nThis is a simple Hangman game implemented in Python. The game selects a random word, and the player must guess letters to figure out the word. The player has a limited number of incorrect guesses before they lose the game.\n\n## Features\n\n- ASCII art for the hangman drawing.\n- Word list generated randomly with a specified length and count.\n- Keeps track of lives and updates the hangman image for incorrect guesses.\n- Displays the current state of the word as underscores (`_`) and fills in correct guesses.\n\n## Requirements\n\n- Python 3.x\n- `pyfiglet` library for ASCII art rendering.\n\n## Installation\n\nTo run this project, you'll need to have Python 3.x installed. You can install the required dependencies using pip:\n\n```bash\npip install pyfiglet\n```\n## Usage\n1. Clone the repository or download the project files.\n2. Ensure all dependencies are installed.\n3. Run the main.py script.\n  ```bash\n  python main.py\n```\n4. The game will prompt you to guess a letter. Type a letter and press Enter.\n5. The game will display the current word and how many lives you have left.\n6. Continue guessing until you either:\n- Correctly guess the word (you win).\n- Run out of lives (you lose).\n\n## Game Flow\n- The game starts by showing the hangman drawing.\n- Each time you make an incorrect guess, the drawing updates.\n- If you guess a letter correctly, it appears in the word.\n- The game ends when you either guess the word or run out of lives.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostafahima%2Fhangman-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmostafahima%2Fhangman-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmostafahima%2Fhangman-game/lists"}