Moved things around a bit more
Removed unnecessary string conversion
Renamed a couple of methods
Inlined a variable
Made letters in word-to-be-guessed individually addressable
Refactored end-game logic
Hopefully fixed intermittent bug where ‘_’s in word-to-be-guessed appear in wrong place