Bug fixes
[vchess.git] / client / src / variants / Knightrelay.js
index de1e89a..43aef74 100644 (file)
@@ -88,6 +88,10 @@ export const VariantRules = class KnightrelayRules extends ChessRules {
     };
   }
 
+  static get SEARCH_DEPTH() {
+    return 2;
+  }
+
   getNotation(move) {
     if (move.appear.length == 2 && move.appear[0].p == V.KING)
       // Castle