Hangman
Description
Hangman (the game) written in a very unelegant procedural style, which you can improve in order to test your skills
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
[](https://github.com/yegor256/hangman/actions/workflows/mvn.yml) [](https://github.com/yegor256/hangman/blob/master/LICENSE.txt)
[Hangman](https://en.wikipedia.org/wiki/Hangman_%28game%29) is a words guessing game for one player. The computer guesses a word and the user has to suggest letters one by one. Every time the word contains a letter, the computer opens it (all of them, if there are a few). Every time the word doesn't contain a letter, the computer gives a penalty point for the user. If there are five penalty points, the user looses. If there are no hidden letters anymore, the computer looses.
First, build it:
$ mvn clean package
Then, run:
$ java -classpath target/classes hangman.Main
This Java code is very procedural, imperative, and not elegant at all. Read about [Elegant Objects](https://www.elegantobjects.org) and then try to refactor this code and improve. You're welcome to create new classes, new methods, anything. Just make sure it still builds. When ready, please submit a pull request.
Related Skills
Spec Kit
💫 Toolkit to help you get started with Spec-Driven Development
Testing Webapp Testing
Test local web applications using Playwright for UI verification and debugging
Testing #29
, [#52](https://github.com/affaan-m/everything-claude-code/issues/52), [#103](https://github.com/affaan-m/ever
Testing Fix Issue
by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol
Testing Pypict Test Design
Design comprehensive test cases using PICT (Pairwise Independent Combinatorial Testing) for optimized test sui
Testing gstack
| 15,000+ | Garry Tan's exact Claude Code setup: 6 opinionated tools that serve as CEO, Eng Manager, Release M
Testing