Fix legal move gen
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user