Search⌘ K
AI Features

Exercise: Extending Wordz

Explore test-driven development by extending a word guessing system. Learn to write unit tests that evaluate single-letter guesses against a target word, then implement the solution to pass those tests. Understand how TDD guides both test and code creation in Java.

We'll cover the following...

Task and requirements

Previously, we implemented a basic word guessing system in Java following the TDD approach. Now, this system should evaluate a single-letter guess in relation to a target word.

Here are the simplified requirements for this exercise:

    ...