-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
| var attackFilter = (move: Move) => move.to.file === kingSquare.file && move.to.rank === kingSquare.rank; |
fix on my branch is:
boardState.moves.filter((move) => {
if (move.isWhite === checkWhite) return false;
return kingSquare && move.to.file === kingSquare.file && move.to.rank === kingSquare.rank;
});Kimeiga
Metadata
Metadata
Assignees
Labels
No labels