Complete OOP rewrite (game.js), bug fixes (end of game logic errors), number of guesses left now shown