Updated the game to work with standard Java