- this.promoted[move.end.x][move.end.y] = move.movePromoted
- || (move.vanish[0].p == V.PAWN && move.appear[0].p != V.PAWN);
- if (move.capturePromoted)
- this.reserve[color][V.PAWN]++;
- else if (move.vanish.length == 2)
- this.reserve[color][move.vanish[1].p]++;
+ this.promoted[move.end.x][move.end.y] =
+ move.movePromoted ||
+ (move.vanish[0].p == V.PAWN && move.appear[0].p != V.PAWN);
+ if (move.capturePromoted) this.reserve[color][V.PAWN]++;
+ else if (move.vanish.length == 2) this.reserve[color][move.vanish[1].p]++;