Allow to set also randomness against computer
[vchess.git] / client / src / base_rules.js
index 93772b9..d2b8a7f 100644 (file)
@@ -240,7 +240,6 @@ export const ChessRules = class ChessRules {
 
   // Setup the initial random (asymmetric) position
   static GenRandInitFen(randomness) {
-    if (!randomness) randomness = 2;
     if (randomness == 0)
       // Deterministic:
       return "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w 0 1111 -";