style : typo
This commit is contained in:
@@ -222,6 +222,7 @@ export const getIsPieceSacrifice = (
|
|||||||
if (
|
if (
|
||||||
Math.abs(capturedPieces["w"].length - capturedPieces["b"].length) <= 1 &&
|
Math.abs(capturedPieces["w"].length - capturedPieces["b"].length) <= 1 &&
|
||||||
capturedPieces["w"].concat(capturedPieces["b"]).every((p) => p === "p")
|
capturedPieces["w"].concat(capturedPieces["b"]).every((p) => p === "p")
|
||||||
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user