-
Notifications
You must be signed in to change notification settings - Fork 27
Labels
GamesAssociated with Games projectAssociated with Games project
Description
User Story
As a player, I want to guess a secret 5-letter word so that I can test my vocabulary and logic.
Acceptance Criteria
- The Word Guess game allows the player up to a fixed number of guesses (N).
- After each guess, it reports whether the guess is correct.
- The game ends on player successfully identifying the word or after N incorrect guesses.
- Score is based on the number of attempts remaining.
Details
- Create a clean internal method to compare guesses.
- Extract guess-checking logic to make it unit-testable.
- Add JUnit tests for:
- correct guess on first try
- correct guess within N tries
- invalid guess (wrong length or characters)
- multiple incorrect guesses
- loss after N incorrect guesses
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
GamesAssociated with Games projectAssociated with Games project
Type
Projects
Status
Backlog