Update Cwda - RR pieces
[vchess.git] / client / src / variants / Dice.js
index 2e98776..9c35204 100644 (file)
@@ -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;
   }