Commit Graph

13 Commits

Author SHA1 Message Date
Serendipity bda917ce37 feat: Online 模式前端 UI — 房间管理/连接状态/remote-move/禁悔棋
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 15:16:40 +08:00
Serendipity a16041cd67 fix: 计时器改为双方独立象棋钟 + 超时自动判负
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 13:53:47 +08:00
Serendipity 4ed66377d2 feat: 实现认输和保存棋谱功能
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 13:47:50 +08:00
Serendipity 75c980e2b6 feat: 添加棋盘大小选择器 (9x9 ~ 19x19)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 13:45:02 +08:00
Serendipity e7a32ef8df fix: 补全 i18n 国际化,消除所有硬编码中文
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 13:43:02 +08:00
Serendipity 3bbbe73b1f test: 添加前端核心逻辑和棋盘渲染单元测试
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 13:40:21 +08:00
Serendipity ac62da2ad8 feat: 添加 React Error Boundary 组件防止渲染异常白屏 2026-05-31 13:40:05 +08:00
Serendipity e1bf667519 fix: 禁用未完成的网络对战入口,标注开发中 2026-05-31 13:40:02 +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 e395ea424b feat(frontend): App 路由集成 + 木纹风格 CSS
App.tsx 添加 menu/game/replay 三页面路由切换,MainMenu 新增
onReplayStart 属性区分对局与回放入口。App.css 实现经典木纹
视觉风格(深棕底色、米黄文字、皮革纹理按钮),index.css 基础
重置。修复 tsconfig 中 erasableSyntaxOnly 无效选项并安装
@types/node。
2026-05-31 00:27:34 +08:00
Serendipity 0138d80f2a feat(frontend): 对局视图 + 回放视图 + 计时器 hook 2026-05-31 00:25:41 +08:00
Serendipity a4b3b5c380 feat(frontend): 菜单组件 — 主菜单/本地双人/AI设置/网络/加载棋谱
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 00:25:19 +08:00
Serendipity 6d8a62eca5 feat(frontend): Canvas 棋盘渲染 — 木纹风格, 棋子渐变, 最后一手高亮
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 00:22:47 +08:00