b1e394d675f60fd147cbcfdd6a8839cfcb67f115
- 新增 tileMap.ts 配置文件,定义麻将牌图片映射逻辑 - 实现根据花色和点数获取对应图片路径的功能 - 添加麻将牌验证和基础牌生成工具函数 - 在 ChengduGamePage.vue 中导入并使用 getTileImage 函数 - 添加服务器响应日志用于调试 - 优化玩家手牌显示区域的布局结构
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
Languages
Vue
70.1%
TypeScript
16.2%
CSS
13.4%
HTML
0.3%