Basic game state transition framework.