X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=variants%2FRecycle%2Fclass.js;fp=variants%2FRecycle%2Fclass.js;h=d8c78e9fd23e8eaefa1c0a622beeac41a1bab6a5;hb=535c464b0543306a0ea36c66f07dcfad7a951efc;hp=82458a98cfe7e8705147c801ea069860b192c34f;hpb=d621e620e7b568df94c53611f6c71ab318f4ffe3;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")