added StateMachine to Game instance