Closed
Conversation
Co-authored-by: CornWorld <43746030+CornWorld@users.noreply.github.com>
Co-authored-by: CornWorld <43746030+CornWorld@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] 添加 Solidjs + websocket 的前端界面
添加 SolidJS + WebSocket 前端界面
Jul 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
根据需求添加了完整的 SolidJS + WebSocket 前端界面,提供现代化的游戏客户端体验。
实现功能
🎮 核心功能
🏗️ 技术架构
📁 项目结构
🎨 界面设计
🔌 WebSocket 协议支持
完整支持 Slareneg WebSocket API:
join- 加入游戏房间createGame- 创建新游戏move- 移动棋盘单位forceStart- 强制开始游戏surrender- 投降截图
登录界面
表单验证
使用方法
游戏流程
与现有系统的兼容性
这个 SolidJS 前端提供了现有 React 界面的现代化替代方案,具有更好的性能和用户体验。
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/solidjs/templates/commitsnode /home/REDACTED/.npm/_npx/3866c78b8d4ef805/node_modules/.bin/create-solid solidjs-frontend --template=ts(http block)registry.npmmirror.comnpm install(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.