Nov-06-2019, 09:51 PM
You're right, the game does not end if there is a double letter in the word. And you can't guess the same letter twice. It shouldn't be testing against len(list(secret_word)), but rather against len(set(secret_word)). Using set(secret_word) will give you all the unique letters in the string.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures