fixed a bunch of issues with the move generation
This commit is contained in:
@ -16,7 +16,7 @@ class Knight(Piece):
|
||||
if move is not None:
|
||||
ret.append(move)
|
||||
|
||||
if not looking_for_check and board.is_check_for(self.colour):
|
||||
if not looking_for_check:# and board.is_check_for(self.colour):
|
||||
return self.keep_only_blocking(ret, board)
|
||||
|
||||
return ret
|
||||
|
Reference in New Issue
Block a user