Some problems that our current code has right now is that it sets the variable every time you input a word. This is very inefficient, and if we generate the hidden word randomly, it will change every time we input a word. This removes the ability to restart the game and generate a new word.
1 Like