After about 3 screens (like 18 guesses), I almost had it but then the word changed on me, and so I died.
Also I think the game defaults to easy mode when you open it for the first time, but the switch does not indicate this properly. I think it's bc line 72 isn't supposed to make the equality check to "true", since it can only ever take bool values anyways.