Add Hex: almost fine, still some issues with SVG + rescaling
[xogo.git] / variants / Crazyhouse / class.js
CommitLineData
3a77a0b4
BA
1import ChessRules from "/base_rules.js";
2
3export default class CrazyhouseRules extends ChessRules {
4
5 static get Options() {
6 return {
7 select: C.Options.select,
535c464b 8 input: C.Options.input,
3a77a0b4
BA
9 styles: C.Options.styles.filter(s => s != "crazyhouse")
10 };
11 }
12
13 constructor(o) {
c9ab0340 14 o.options["crazyhouse"] = true;
3a77a0b4 15 super(o);
3a77a0b4
BA
16 }
17
18};