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