1 import ChessRules
from "/base_rules.js";
3 export default class TeleportRules
extends ChessRules
{
7 select: C
.Options
.select
,
8 // TODO? option "teleport king"?
9 input: C
.Options
.input
,
10 styles: C
.Options
.styles
.filter(s
=> s
!= "teleport")
15 o
.options
["teleport"] = true;