X-Git-Url: https://git.auder.net/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fvariants%2FAlice.js;h=4d6b3c374281cc149d030087fcfe5290fb161f49;hb=6b7b2cf720e6255e4da0dc34fee363c456346a58;hp=d787c42ed4d6303c3b71ba75466176500873861d;hpb=f5a31ba0f98d215d432b7d3c86388af749df33a4;p=vchess.git diff --git a/client/src/variants/Alice.js b/client/src/variants/Alice.js index d787c42e..4d6b3c37 100644 --- a/client/src/variants/Alice.js +++ b/client/src/variants/Alice.js @@ -107,8 +107,7 @@ export const VariantRules = class AliceRules extends ChessRules { // Finally filter impossible moves const res = moves.filter(m => { if (m.appear.length == 2) { - //castle - // appear[i] must be an empty square on the other board + // Castle: appear[i] must be an empty square on the other board for (let psq of m.appear) { if (this.getSquareOccupation(psq.x, psq.y, 3 - mirrorSide) != V.EMPTY) return false;