{"id":18026757,"url":"https://github.com/yegor256/hangman","last_synced_at":"2025-04-07T15:10:04.413Z","repository":{"id":52859010,"uuid":"92071573","full_name":"yegor256/hangman","owner":"yegor256","description":"Hangman (the game) written in a very unelegant procedural style, which you can improve in order to test your skills","archived":false,"fork":false,"pushed_at":"2024-10-27T12:18:39.000Z","size":39,"stargazers_count":34,"open_issues_count":24,"forks_count":53,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-31T13:19:08.915Z","etag":null,"topics":["game","hangman-game","java","oop"],"latest_commit_sha":null,"homepage":"http://www.yegor256.com/elegant-objects.html","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yegor256.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2017-05-22T15:51:41.000Z","updated_at":"2024-12-22T09:07:43.000Z","dependencies_parsed_at":"2024-07-20T06:42:03.264Z","dependency_job_id":"021a84b6-9ba1-4669-8102-5abdd6be95f6","html_url":"https://github.com/yegor256/hangman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fhangman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fhangman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fhangman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fhangman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yegor256","download_url":"https://codeload.github.com/yegor256/hangman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675607,"owners_count":20977378,"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":["game","hangman-game","java","oop"],"created_at":"2024-10-30T08:07:55.117Z","updated_at":"2025-04-07T15:10:04.386Z","avatar_url":"https://github.com/yegor256.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/yegor256/hangman/master/images/logo.png\" width=\"100px\"/\u003e\n\n[![mvn](https://github.com/yegor256/hangman/actions/workflows/mvn.yml/badge.svg)](https://github.com/yegor256/hangman/actions/workflows/mvn.yml)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/hangman/blob/master/LICENSE.txt)\n\n[Hangman](https://en.wikipedia.org/wiki/Hangman_%28game%29) is a words\nguessing game for one player. The computer guesses a word and the user\nhas to suggest letters one by one. Every time the word contains a letter,\nthe computer opens it (all of them, if there are a few). Every time the\nword doesn't contain a letter, the computer gives a penalty point for\nthe user. If there are five penalty points, the user looses. If there\nare no hidden letters anymore, the computer looses.\n\nFirst, build it:\n\n```\n$ mvn clean package\n```\n\nThen, run:\n\n```\n$ java -classpath target/classes hangman.Main\n```\n\nThis Java code is very procedural, imperative, and not elegant at all.\nRead about [Elegant Objects](https://www.elegantobjects.org) \nand then try to refactor this code and improve. You're welcome to create new classes,\nnew methods, anything. Just make sure it still builds.\nWhen ready, please submit a pull request.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyegor256%2Fhangman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyegor256%2Fhangman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyegor256%2Fhangman/lists"}