Handling Guesses, Attempts, and Game Over Conditions
Learn about handling correct guesses and determining game-over scenarios due to excessive incorrect guesses in the Wordz game.
In this lesson, we’ll complete the tests and production code we need to drive out detecting the end of a game. This will happen when we do either of the following:
Guess the word correctly.
Make our final allowed attempt, based on a maximum number.
We can make a start by coding the end-of-game ...
Get hands-on with 1400+ tech skills courses.