Update TODO 'Weiqi rules' + draft setupPieces
[xogo.git] / variants / Teleport / class.js
1 import ChessRules from "/base_rules.js";
2
3 export default class TeleportRules extends ChessRules {
4
5 static get Options() {
6 return {
7 select: C.Options.select,
8 // TODO? option "teleport king"?
9 input: C.Options.input,
10 styles: C.Options.styles.filter(s => s != "teleport")
11 };
12 }
13
14 constructor(o) {
15 o.options["teleport"] = true;
16 super(o);
17 }
18
19 };