X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FCannibal.js;h=1a8a45183b69550e957ce70614f13c1d1b34944c;hp=f7a9514969b40ada8859bec98f3de2fa9035802f;hb=801e28709e778bd3a93b014d1f9cb2fb7906e303;hpb=e6bcc1d87c65264608d1134a24d758e0f2a687c1 diff --git a/client/src/variants/Cannibal.js b/client/src/variants/Cannibal.js index f7a95149..1a8a4518 100644 --- a/client/src/variants/Cannibal.js +++ b/client/src/variants/Cannibal.js @@ -88,7 +88,7 @@ export class CannibalRules extends ChessRules { return moves.filter(m => m.vanish.length == 2 && m.appear.length == 1); } - // Stop at the first capture found (if any) + // Stop at the first capture found (if any) atLeastOneCapture() { const color = this.turn; const oppCol = V.GetOppCol(color);