mirror of
https://github.com/LHY0125/Gobang-Game.git
synced 2026-06-28 16:35:55 +08:00
perf: AI 搜索移到独立后台线程避免阻塞 GUI
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,7 @@ use crate::rules;
|
||||
use crate::types::{Color, Position};
|
||||
|
||||
/// Alpha-Beta AI 引擎
|
||||
#[derive(Clone)]
|
||||
pub struct AlphaBetaAi {
|
||||
depth: usize,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user