Bug fixes
[vchess.git] / client / src / variants / Antiking.js
index 1c062bb..aa6b54c 100644 (file)
@@ -152,7 +152,6 @@ export const VariantRules = class AntikingRules extends ChessRules {
   }
 
   static GenRandInitFen(randomness) {
-    if (!randomness) randomness = 2;
     if (randomness == 0)
       return "rnbqkbnr/pppppppp/3A4/8/8/3a4/PPPPPPPP/RNBQKBNR w 0 1111 -";
 
@@ -223,4 +222,8 @@ export const VariantRules = class AntikingRules extends ChessRules {
       " w 0 1111 -"
     );
   }
+
+  static get SEARCH_DEPTH() {
+    return 2;
+  }
 };