Add CheckGameState && AskUndo