https://www.chessvariants.com/other.dir/nemoroth.html :-)
Chagagne ^^
+
+Power Sharing
+Rules: Two adjacent pieces of the same color can share their movement. Adjacency includes diagonals, sharing ends once pieces are separated, and sharing can be used to check, capture pieces, and promote pawns.
+(+ pawns and king ?!)
+TheGoatMan Discord https://discord.com/channels/686736099959504907/687076968046395410/836274318480113686
return false;
}
- isAttackedBySilver([x, y], color) {
+ isAttackedBySilver(sq, color) {
const shift = (color == 'w' ? 1 : -1);
return this.isAttackedBySlideNJump(
sq, color, V.SILVER, V.steps[V.BISHOP].concat([ [shift, 0] ]), 1);
}
- isAttackedByPawn([x, y], color) {
+ isAttackedByPawn(sq, color) {
const shift = (color == 'w' ? 1 : -1);
return this.isAttackedBySlideNJump(sq, color, V.PAWN, [ [shift, 0] ], 1);
}