Fix Eightpieces, add some simple variants, add a basic variants classification instea...
[vchess.git] / client / src / variants / Pawns.js
index 83ccca7..1dca994 100644 (file)
@@ -14,6 +14,8 @@ export class PawnsRules extends ChessRules {
     return false;
   }
 
+  scanKings() {}
+
   static GenRandInitFen() {
     return "8/pppppppp/8/8/8/8/PPPPPPPP/8 w 0 -";
   }
@@ -36,4 +38,11 @@ export class PawnsRules extends ChessRules {
     if (!this.atLeastOneMove()) return "1/2";
     return "*";
   }
+
+  postPlay() {}
+  postUndo() {}
+
+  static get SEARCH_DEPTH() {
+    return 4;
+  }
 };