Add some more variants; TODO: Doublemove options
[xogo.git] / variants / Zen / class.js
CommitLineData
41534b92
BA
1import ChessRules from "/base_rules.js";
2
3export default class ZenRules extends ChessRules {
4
5 static get Options() {
6 return {
cc2c7183
BA
7 select: C.Options.select,
8 check: C.Options.check,
9 styles: C.Options.styles.filter(s => s != "zen")
41534b92
BA
10 };
11 }
12
13 constructor(o) {
14 super(o);
3a77a0b4 15 this.options.zen = true;
41534b92
BA
16 }
17
18};