mirror of
https://github.com/LHY0125/Gobang-Game.git
synced 2026-06-28 16:35:55 +08:00
4e336308ab
实现不可变风格的 Board 结构体,place()/undo() 返回新 Board。 包含 bounds 检查、四方向五连胜负判定、悔棋历史管理、 空棋盘天元候选等功能。新增 11 个单元测试全部通过。 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>