Created the Game class to replace the terrible demo code.