Experimental change: options replacing randomness (more general)
[vchess.git] / client / src / variants / Chess960.js
1 import { ChessRules } from "@/base_rules";
2
3 export class Chess960Rules extends ChessRules {
4
5 // Do not allow standard chess:
6 static get Options() {
7 return {
8 select: [
9 {
10 label: "Randomness",
11 variable: "randomness",
12 defaut: 2,
13 options: [
14 { label: "Symmetric random", value: 1 },
15 { label: "Asymmetric random", value: 2 }
16 ]
17 }
18 ],
19 check: []
20 };
21 }
22
23 };