improve undoBoards on both games