Restructured to include a Game class