Commit | Line | Data |
---|---|---|
41534b92 BA |
1 | import ChessRules from "/base_rules.js"; |
2 | ||
3 | export default class ZenRules extends ChessRules { | |
4 | ||
5 | static get Options() { | |
6 | return { | |
cc2c7183 | 7 | select: C.Options.select, |
535c464b | 8 | input: C.Options.input, |
cc2c7183 | 9 | styles: C.Options.styles.filter(s => s != "zen") |
41534b92 BA |
10 | }; |
11 | } | |
12 | ||
13 | constructor(o) { | |
c9ab0340 | 14 | o.options["zen"] = true; |
41534b92 | 15 | super(o); |
41534b92 BA |
16 | } |
17 | ||
18 | }; |