Recall the Wrong Proposals

Learn to improve interactivity by implementing additional functionalities.

Storing the wrong letters

Displaying the number of letters of the hidden word and the found letters is not enough to help the player. It’s also useful to show the wrong letters that they proposed. To do this, we are going to store the wrong letters in the same way as we accumulate the correct letters in a collection.

Get hands-on with 1200+ tech skills courses.