From f82609cd2aea6d5ee880773795278948fbfac666 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Fri, 20 Mar 2020 21:16:54 +0100
Subject: [PATCH] Lower search depth for Coregal

---
 client/src/variants/Coregal.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/client/src/variants/Coregal.js b/client/src/variants/Coregal.js
index 1a4a4038..704ce4c5 100644
--- a/client/src/variants/Coregal.js
+++ b/client/src/variants/Coregal.js
@@ -298,6 +298,10 @@ export class CoregalRules extends ChessRules {
 
   // NOTE: do not set queen value to 1000 or so, because there may be several.
 
+  static get SEARCH_DEPTH() {
+    return 2;
+  }
+
   getNotation(move) {
     if (move.appear.length == 2) {
       // Castle: determine the right notation
-- 
2.44.0