Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces a comprehensive setup and implementation for a Hangperson (Hangman) Java console application. It includes detailed instructions for creating the project, configuring Maven, and leveraging GitHub Copilot for incremental development. The changes also include a complete solution with the game logic, tests, and supporting documentation.
Documentation and Setup Improvements:
README.md
file inchallenges/hangperson
with step-by-step instructions for setting up the Hangperson application using Maven and GitHub Copilot. It covers project creation, dependency configuration, and initial implementation guidance.wordet.md
file documenting the use of WordNet for word resources, along with its licensing details.Game Implementation:
App.java
, including a loop for guessing letters, tracking incorrect guesses, and determining win conditions. The game now supports repeated guesses until the word is fully guessed.Testing and Maven Configuration:
AppTest.java
to validate the application setup.pom.xml
file to configure Maven for Java 1.8, JUnit 5, and the Maven Surefire plugin for testing.Supporting Changes:
.gitignore
to exclude thetarget
directory, ensuring build artifacts are not tracked.prompts.md
to guide developers in using GitHub Copilot for incremental game development.This pull request provides a solid foundation for the Hangperson application, with clear documentation and modular implementation to support further enhancements.