X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=variants%2FRecycle%2Fclass.js;h=d8c78e9fd23e8eaefa1c0a622beeac41a1bab6a5;hb=HEAD;hp=82458a98cfe7e8705147c801ea069860b192c34f;hpb=a7d092011535bc7da231c2c254ec5c936b62cd71;p=xogo.git diff --git a/variants/Recycle/class.js b/variants/Recycle/class.js index 82458a9..d8c78e9 100644 --- a/variants/Recycle/class.js +++ b/variants/Recycle/class.js @@ -5,16 +5,18 @@ export default class RecycleRules extends ChessRules { static get Options() { return { select: C.Options.select, - check: [ + input: [ { label: "Capture king", - defaut: false, - variable: "taking" + variable: "taking", + type: "checkbox", + defaut: false }, { label: "Falling pawn", - defaut: true, - variable: "pawnfall" + variable: "pawnfall", + type: "checkbox", + defaut: true } ], styles: C.Options.styles.filter(s => s != "recycle")