Much of the game logic is in the Game class, but there's also a lot that's in the UI classes. Ideally the UI should be ignorant of the game mechanics.