Update TODO 'Weiqi rules' + draft setupPieces
[xogo.git] / variants / Berolina / class.js
CommitLineData
33b42748
BA
1import ChessRules from "/base_rules.js";
2import BerolinaPawnSpec from "/variants/_Berolina/pawnSpec.js";
9a036f5f 3
33b42748
BA
4export default class BerolinaRules extends ChessRules {
5
6 pieces(color, x, y) {
7 let res = super.pieces(color, x, y);
8 res['p'] = BerolinaPawnSpec(color);
9 return res;
10 }
11
12};