// Set potential random effects, so that play() is deterministic
// from opponent viewpoint:
const endPiece = this.getPiece(move.end.x, move.end.y);
// Set potential random effects, so that play() is deterministic
// from opponent viewpoint:
const endPiece = this.getPiece(move.end.x, move.end.y);