in reply to hangman game

It helps to use an editor that highlights opening and closing parentheses, brackets, braces, etc., and show the scope of blocks. This kind of error can be prevented, or easily found and fixed. I use Notepad++ on Windows because it has many features and is free; there are many other options.

Dum Spiro Spero