mirror of
https://github.com/LHY0125/Gobang-Game.git
synced 2026-06-29 00:45:55 +08:00
feat(core): 禁手规则 — 长连/双三/双四检测
实现黑棋禁手检测(is_forbidden),包含: - 长连禁手(超过5子连珠) - 双三禁手(同时形成两个活三) - 双四禁手(同时形成两个活四) - 白棋不受禁手规则限制 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// Gobang core library — 纯游戏逻辑,零 GUI 依赖
|
||||
|
||||
pub mod board;
|
||||
pub mod rules;
|
||||
pub mod types;
|
||||
|
||||
Reference in New Issue
Block a user