Several small improvements + integrate options + first working draft of Cwda
[vchess.git] / client / src / variants / Chess960.js
CommitLineData
eb2d61de
BA
1import { ChessRules } from "@/base_rules";
2
3export 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 }
4313762d 18 ]
eb2d61de
BA
19 };
20 }
21
22};