fixed a bunch of issues with the move generation

This commit is contained in:
Karma Riuk
2025-02-02 12:58:05 +01:00
parent 4bb068b2a5
commit 84d73511d2
10 changed files with 215 additions and 14 deletions

View File

@ -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