statebasedgame and basicgamestate