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

@ -29,7 +29,7 @@ class Queen(Piece):
# looking north
ret.extend(self._look_direction(board, 0, 1))
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