6066e5122d05588c9de12bb3dadb9de5661cc7c5
1 import ChessRules
from "/base_rules.js";
3 export default class BerolinaRules
extends ChessRules
{
6 const pawnShift
= (color
== "w" ? -1 : 1);
7 let res
= super.pieces(color
, x
, y
);
10 steps: [[pawnShift
, 1], [pawnShift
, -1]],
16 steps: [[pawnShift
, 0]],