return this.isAttackedByJump(sq, colors, V.KING, V.steps[V.KING]);
}
+ // NOTE: altering move in getBasicMove doesn't work and wouldn't be logical.
+ // This is a side-effect on board generated by the move.
static PlayOnBoard(board, move) {
board[move.vanish[0].x][move.vanish[0].y] = V.HOLE;
for (let psq of move.appear) board[psq.x][psq.y] = psq.c + psq.p;