wsy182 d60a505226 fix(game): 修复房间信息请求和定缺响应处理逻辑
- 将 pendingRoomInfoRequest 重命名为 needsInitialRoomInfo 以更准确表达含义
- 移除 waiting 阶段的限制条件,仅在结算阶段返回 false
- 当手牌为空时才返回空状态,避免误判
- 新增 handlePlayerDingQueResponse 函数处理玩家定缺响应
- 优化 onMounted 中的房间信息请求逻辑,确保连接状态下才发送请求
- 在消息处理器中添加对定缺响应的处理支持
2026-03-27 17:26:33 +08:00
2026-02-18 14:30:42 +08:00
2026-02-18 14:30:42 +08:00
2026-03-24 15:25:40 +08:00
2026-02-18 14:30:42 +08:00
2026-02-18 14:30:42 +08:00
2026-02-18 14:30:42 +08:00
2026-02-18 14:30:42 +08:00

Mahjong Web

This project uses Vue 3, TypeScript, Vite, and pnpm for package management.

Setup

Install dependencies:

pnpm install

Start the development server:

pnpm dev

Build for production:

pnpm build

Preview the production build:

pnpm preview
Description
No description provided
Readme 42 MiB
Languages
Vue 70.1%
TypeScript 16.2%
CSS 13.4%
HTML 0.3%