Good Guess
If the letter is in the gameword
, we need to congratulate the user with a good guess. The guessed letter will be added to the current state of the gameword and deleted from the available letters list.
Uppgift
Swipe to start coding
- Append the
guess
to theused_letters
.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 4