abbb564f4def2ab98d3778fa13dd0b12c751a896
1 import ChessRules
from "/base_rules.js";
3 export default class DoublearmyRules
extends ChessRules
{
7 select: C
.Options
.select
,
8 input: C
.Options
.input
,
9 styles: C
.Options
.styles
.filter(s
=> s
!= "madrasi")
14 let res
= super.pieces(color
, x
, y
);
26 genRandInitBaseFen() {
27 const s
= super.genRandInitBaseFen();
28 const rows
= s
.fen
.split('/');
33 rows
[0].replace('k', 'c') + "/" +
36 rows
[7].replace('K', 'C') + "/" +