-
-
Notifications
You must be signed in to change notification settings - Fork 555
Closed
Description
I'm using python-chess to analyze a game.
I have my code like this, and I expect 3 boolean outputs.
print("is_castling: " + unicode(board.is_castling(node.move)));
print("is_zeroing: " + unicode(board.is_zeroing(node.move)));
print("is_capture: " + unicode(board.is_capture(node.move)));
But this is what I get.
is_castling: False
is_zeroing: 4194304
is_capture: 4194304
When I use bool() to wrap above values, it always returns true.
What am I missing here?
Metadata
Metadata
Assignees
Labels
No labels