X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fvariants%2FDice.js;h=9c35204033469853b48bbd9176ed679107f01e21;hp=2e987764a703172f8d91a64af6765f22336e9a26;hb=74afb57db5e15af26de042ba3f70f3409f13cb5f;hpb=c55f90a29815f68dc24a912370db8f6ff9360f8e diff --git a/client/src/variants/Dice.js b/client/src/variants/Dice.js index 2e987764..9c352040 100644 --- a/client/src/variants/Dice.js +++ b/client/src/variants/Dice.js @@ -3,6 +3,23 @@ import { randInt } from "@/utils/alea"; export class DiceRules extends ChessRules { + static get Options() { + return { + select: [ + { + label: "Randomness", + variable: "randomness", + defaut: 2, + options: [ + { label: "Deterministic", value: 0 }, + { label: "Symmetric random", value: 1 }, + { label: "Asymmetric random", value: 2 } + ] + } + ] + }; + } + static get CanAnalyze() { return false; }