Where is it better to place the general logic of the game as a program?

Game instance, or game state. They are both perpetual.