Commit Graph

3 Commits

Author SHA1 Message Date
Serendipity 4e336308ab feat(core): 棋盘引擎 — 不可变 Board, 落子/胜负/悔棋/候选位
实现不可变风格的 Board 结构体,place()/undo() 返回新 Board。
包含 bounds 检查、四方向五连胜负判定、悔棋历史管理、
空棋盘天元候选等功能。新增 11 个单元测试全部通过。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-30 23:55:21 +08:00
Serendipity fd307addc8 feat(core): 定义基础类型 — Position, Color, CellState, Move, GameConfig
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-30 23:51:00 +08:00
Serendipity 1e0d5f0c43 feat: 初始化 Cargo workspace + core crate 脚手架
创建 Rust 工作区,包含 core(纯游戏逻辑)和 gui(Tauri 占位)两个 crate。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-30 23:49:50 +08:00