"dark-square": (i + j) % 2 == 1,
[this.settings.bcolor]: true,
"in-shadow":
"dark-square": (i + j) % 2 == 1,
[this.settings.bcolor]: true,
"in-shadow":
// Next condition: classList.contains(piece) fails because of marks
while (landing.tagName == "IMG") landing = landing.parentNode;
if (this.start.id == landing.id)
// Next condition: classList.contains(piece) fails because of marks
while (landing.tagName == "IMG") landing = landing.parentNode;
if (this.start.id == landing.id)
return;
// OK: process move attempt, landing is a square node
let endSquare = getSquareFromId(landing.id);
return;
// OK: process move attempt, landing is a square node
let endSquare = getSquareFromId(landing.id);