this.getColor(x+step[0],y+step[1]) == color
) {
const piece = this.getPiece(x+step[0],y+step[1]);
this.getColor(x+step[0],y+step[1]) == color
) {
const piece = this.getPiece(x+step[0],y+step[1]);
for (const step2 of V.steps[V.KNIGHT]) {
const xx = x+step[0]+step2[0],
yy = y+step[1]+step2[1];
for (const step2 of V.steps[V.KNIGHT]) {
const xx = x+step[0]+step2[0],
yy = y+step[1]+step2[1];