Fix legal move gen

This commit is contained in:
2025-08-22 15:09:48 -04:00
parent 616c456964
commit 8538591d49
2 changed files with 28 additions and 26 deletions

View File

@@ -132,7 +132,7 @@ class ChessFFI:
def get_legal_moves(self, board, out):
return int(self._c_get_legal_moves(C.byref(board), out))
return int(self._c_get_legal_moves(board, out))
def square_attacked(self, board, sq, by):