From cb3481b269c59cb41f4ecd5039320d423c84b46f Mon Sep 17 00:00:00 2001 From: lkddi Date: Thu, 12 Mar 2026 15:54:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=94=E5=AD=90=E6=A3=8B?= =?UTF-8?q?=E5=88=9D=E7=BA=A7=20AI=20=E9=9A=BE=E5=BA=A6=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/GomokuAiService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/GomokuAiService.php b/app/Services/GomokuAiService.php index 8ea7e82..67b774b 100644 --- a/app/Services/GomokuAiService.php +++ b/app/Services/GomokuAiService.php @@ -40,7 +40,7 @@ class GomokuAiService public function think(array $board, int $aiLevel): array { return match ($aiLevel) { - 1 => $this->thinkSimple($board), + 1 => $this->thinkMinimax($board, 1), // 简单:深度1 2 => $this->thinkMinimax($board, 2), // 普通:深度2 3 => $this->thinkMinimax($board, 3), // 困难:深度3 default => $this->thinkMinimax($board, 4), // 专家:深度4