{"id":21252435,"url":"https://github.com/ondrejhruby/hangman","last_synced_at":"2025-06-23T03:40:43.114Z","repository":{"id":256279872,"uuid":"851324874","full_name":"ondrejhruby/Hangman","owner":"ondrejhruby","description":"Hangman Game: A classic text-based Hangman game built in Python where players guess letters to uncover a hidden word before running out of attempts.","archived":false,"fork":false,"pushed_at":"2024-09-02T22:14:45.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T05:29:36.925Z","etag":null,"topics":["cli-games","game-development","interactive-game","logic-programming","python","string-manipulation","text-based-game","word-games"],"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/ondrejhruby.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-02T22:06:57.000Z","updated_at":"2024-09-03T09:58:18.000Z","dependencies_parsed_at":"2024-09-10T01:29:22.252Z","dependency_job_id":null,"html_url":"https://github.com/ondrejhruby/Hangman","commit_stats":null,"previous_names":["ondrejhruby/hangman"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ondrejhruby/Hangman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondrejhruby%2FHangman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondrejhruby%2FHangman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondrejhruby%2FHangman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondrejhruby%2FHangman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ondrejhruby","download_url":"https://codeload.github.com/ondrejhruby/Hangman/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondrejhruby%2FHangman/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261406781,"owners_count":23153835,"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":["cli-games","game-development","interactive-game","logic-programming","python","string-manipulation","text-based-game","word-games"],"created_at":"2024-11-21T03:47:29.365Z","updated_at":"2025-06-23T03:40:38.097Z","avatar_url":"https://github.com/ondrejhruby.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hangman Game\n\nWelcome to the classic Hangman game implemented in Python! This simple text-based game challenges players to guess letters and uncover a hidden word before running out of attempts. It's a fun way to test your word-guessing skills and improve your Python programming knowledge.\n\n## Features\n\n- Randomly selects a word from a predefined list.\n- Players guess letters one at a time to reveal the hidden word.\n- Displays the current progress and remaining attempts.\n- Encourages players to think strategically to avoid running out of guesses.\n\n## How to Play\n\n1. Run the `hangman.py` script using Python.\n2. The game will display the number of letters in the hidden word.\n3. Guess letters one by one.\n4. If the guessed letter is correct, it will appear in the word.\n5. If the guess is incorrect, you lose one attempt.\n6. Continue guessing until you reveal the word or run out of attempts.\n\n## Prerequisites\n\n- Python 3.x installed on your system.\n\n## Getting Started\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/your-username/hangman-game.git\n    ```\n2. Navigate to the project directory:\n\nbash\n  ```bash\n  cd hangman-game\n  ```\n3. Run the game:\n\n  ```bash\n  python hangman.py\n  ```\n## Skills Learned\n\nBy working on this Hangman game, you'll improve your understanding of:\n\n- Basic Python Programming: Practice with loops, conditionals, functions, and handling user input.\n- String Manipulation: Work with string operations to update and display the hidden word.\n- Random Module: Use Python’s random module to select words randomly from a list.\n- Error Handling: Manage user input and prevent errors by validating guesses.\n- Game Logic Design: Implement game mechanics, keeping track of attempts and correctly guessed letters.\n  \n## Contribution\nFeel free to fork this repository, make improvements, and submit pull requests. Contributions are welcome!\n\n## Contact\nIf you have any questions or suggestions, please feel free to reach out!\n\nEnjoy the game and happy guessing!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fondrejhruby%2Fhangman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fondrejhruby%2Fhangman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fondrejhruby%2Fhangman/lists"}