// Add potential squares visible by "impossible pawn capture"
if (this.getPiece(i, j) == V.PAWN) {
for (let shiftY of [-1, 1]) {
if (
// Add potential squares visible by "impossible pawn capture"
if (this.getPiece(i, j) == V.PAWN) {
for (let shiftY of [-1, 1]) {
if (