if row - 1 >= row_start and col - 1 >= 3 and (not self.map[row - 1][col - 1] or self.map[row - 1][col - 1].team != team):
all_position.append((row - 1, col - 1))
希望大佬可以解救一下
士只能走田 ,斜角走 ,但不能走出这个田外面
代码的意思是如果行-1大于等于最小的行,并且列-1大于等于3,并且[row - 1][col - 1]没有棋子,或者目前是对方的棋子的话可以走