Serendipity
|
a892e2493b
|
feat: 置换表 — Zobrist 索引 + depth 优先替换 + 5 测试
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 15:45:33 +08:00 |
|
Serendipity
|
1aa1a3c2c6
|
feat: 组合棋形评估 + 位置权重 — 双活三/冲四检测 + 4 测试
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 15:43:08 +08:00 |
|
Serendipity
|
e6690a35fe
|
feat: Board 新增 Zobrist 哈希增量更新 + 3 测试
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 15:42:50 +08:00 |
|
Serendipity
|
cd44cbfc48
|
feat: VCF/VCT 杀棋搜索 — 连续冲四/活三取胜 + 3 测试
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 15:41:33 +08:00 |
|
Serendipity
|
35c66a30f4
|
feat: Killer move 表 — 2-slot/depth + 3 测试
|
2026-05-31 15:40:30 +08:00 |
|
Serendipity
|
2ad05cab4b
|
chore: 提交五子棋v2审查修复计划与前期优化
- 调整core/src/board.rs测试代码格式,移除多余逗号
- 重构core/src/record.rs日期测试断言为多行格式,提升可读性
- 更新Cargo.lock,添加网络对战所需的加密与网络依赖包
- 新增完整的v2版本审查修复计划文档,包含14个优先级分批的修复任务,覆盖bug修复、测试补全、国际化、功能新增等全方面优化内容
|
2026-05-31 15:28:59 +08:00 |
|
Serendipity
|
33c1f8d8d4
|
feat: 实现 NetworkLoop::run — Server/Client renet 主循环
添加 renet2_netcode 依赖,使用 renet2 + renet2_netcode + renetcode2
三 crate 架构实现完整网络循环。Server 端监听 UDP 端口并通过
channel 广播游戏消息,Client 端连接并双工通信。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 15:10:18 +08:00 |
|
Serendipity
|
92894d2904
|
feat: 重写 network.rs — NetMessage/NetworkCmd/NetworkEvent + bincode serde 测试
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 15:00:54 +08:00 |
|
Serendipity
|
af64a99987
|
chore: 添加 renet2 + bincode 网络库依赖
|
2026-05-31 14:59:37 +08:00 |
|
Serendipity
|
6da7b7a43b
|
feat: GameConfig 新增 hostPort 字段
- Rust GameConfig 添加 host_port: u16(#[serde(default)],默认 0)
- TypeScript GameConfig 添加 hostPort?: number(可选,匹配其他带默认值字段的模式)
|
2026-05-31 14:58:45 +08:00 |
|
Serendipity
|
dddfd035c6
|
feat: 接入 LLM AI 引擎到 GUI,GameConfig 支持 useLlm 切换 AI 类型
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 13:46:45 +08:00 |
|
Serendipity
|
c1c64b0155
|
perf: AI 搜索移到独立后台线程避免阻塞 GUI
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 13:43:25 +08:00 |
|
Serendipity
|
955396a74d
|
feat: 添加 env_logger 基础日志系统
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 13:41:06 +08:00 |
|
Serendipity
|
ec4aae37d9
|
fix: 棋谱日期从 Unix 时间戳改为 ISO 8601 可读格式
|
2026-05-31 13:40:28 +08:00 |
|
Serendipity
|
cd9c3a79ab
|
fix: 修复悔棋奇数步崩溃及空历史错误语义 (NoHistory)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 13:38:04 +08:00 |
|
Serendipity
|
834d61f896
|
fix: 移除 GameMode 的 camelCase 重命名,修复前端传 Local/VsAi 无法匹配
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 13:09:11 +08:00 |
|
Serendipity
|
ffcc7a7675
|
fix: 代码审查修复 — serde camelCase/CSP/TS检查/replay/undo/AI禁手/星位/未使用依赖
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 12:51:53 +08:00 |
|
Serendipity
|
820f35f444
|
feat(core): LLM AI — OpenAI 兼容 API 调用 + prompt/parse
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 00:09:44 +08:00 |
|
Serendipity
|
6a78631ad4
|
feat(core): 网络模块 — GameMessage 协议定义 + NetworkSession
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 00:05:58 +08:00 |
|
Serendipity
|
4dc837a29a
|
feat(core): 棋谱记录 — JSON 序列化/反序列化 + 复盘重建
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 00:04:42 +08:00 |
|
Serendipity
|
556ee39a28
|
feat(core): AI Alpha-Beta 搜索 — Negamax + 剪枝 + 启发式排序
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 00:03:38 +08:00 |
|
Serendipity
|
5230adacde
|
feat(core): AI 棋形评分模块 — 连五/活四/冲四/活三等棋形打分
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-31 00:00:48 +08:00 |
|
Serendipity
|
963fc78007
|
feat(core): 禁手规则 — 长连/双三/双四检测
实现黑棋禁手检测(is_forbidden),包含:
- 长连禁手(超过5子连珠)
- 双三禁手(同时形成两个活三)
- 双四禁手(同时形成两个活四)
- 白棋不受禁手规则限制
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-30 23:59:19 +08:00 |
|
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 |
|