Add a soft timer to avoid spending much more than 5 seconds on a move
[vchess.git] / public / javascripts / variants / Grand.js
index faf7f63..f4e325d 100644 (file)
@@ -202,6 +202,8 @@ class GrandRules extends ChessRules
                );
        }
 
+       static get SEARCH_DEPTH() { return 2; }
+
        // TODO: this function could be generalized and shared better
        static GenRandInitFen()
        {