From cc46f9cfc5eac9009039220217e8c92b9ab9e5f2 Mon Sep 17 00:00:00 2001 From: GuillaumeSD Date: Tue, 23 Apr 2024 01:54:23 +0200 Subject: [PATCH] style : typo --- src/lib/chess.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/chess.ts b/src/lib/chess.ts index ee27eb6..345bb1d 100644 --- a/src/lib/chess.ts +++ b/src/lib/chess.ts @@ -222,6 +222,7 @@ export const getIsPieceSacrifice = ( if ( Math.abs(capturedPieces["w"].length - capturedPieces["b"].length) <= 1 && capturedPieces["w"].concat(capturedPieces["b"]).every((p) => p === "p") + ) { return false; }