基于Vue.js的心算竞技场 | 实时对战PK × 渐进式训练 ✖️ 成绩追踪 📊 使用Vue.js构建的网页端数学训练平台,融合游戏化设计,支持多难度级别、排行榜、响应式布局,适合教育与娱乐场景。通过组件化开发实现高效交互,后续计划扩展社交分享与成就系统。🚀 https://ab.co1d.in
Find a file
Coldin04 6e9c0fef54 feat: Implement network battle and practice modes with question generation
- Added `questionGenerator.ts` for dynamic question generation based on difficulty levels.
- Created `NetworkBattle.vue` for real-time multiplayer gameplay using PeerJS.
- Developed `Practice.vue` for single-player practice sessions with score tracking and history.
- Updated `yarn.lock` to include new dependencies for PeerJS and message packing.
- Enhanced UI with responsive design and feedback animations for user interactions.
2025-04-25 18:05:34 +08:00
.vscode initial commit 2025-04-25 15:39:24 +08:00
.yarn feat: Implement network battle and practice modes with question generation 2025-04-25 18:05:34 +08:00
public initial commit 2025-04-25 15:39:24 +08:00
src feat: Implement network battle and practice modes with question generation 2025-04-25 18:05:34 +08:00
.editorconfig initial commit 2025-04-25 15:39:24 +08:00
.gitattributes initial commit 2025-04-25 15:39:24 +08:00
.gitignore initial commit 2025-04-25 15:39:24 +08:00
.pnp.cjs feat: Implement network battle and practice modes with question generation 2025-04-25 18:05:34 +08:00
.pnp.loader.mjs initial commit 2025-04-25 15:39:24 +08:00
.prettierrc.json initial commit 2025-04-25 15:39:24 +08:00
env.d.ts initial commit 2025-04-25 15:39:24 +08:00
eslint.config.ts initial commit 2025-04-25 15:39:24 +08:00
index.html initial commit 2025-04-25 15:39:24 +08:00
package.json feat: Implement network battle and practice modes with question generation 2025-04-25 18:05:34 +08:00
README.md initial commit 2025-04-25 15:39:24 +08:00
tsconfig.app.json initial commit 2025-04-25 15:39:24 +08:00
tsconfig.json initial commit 2025-04-25 15:39:24 +08:00
tsconfig.node.json initial commit 2025-04-25 15:39:24 +08:00
vite.config.ts initial commit 2025-04-25 15:39:24 +08:00
yarn.lock feat: Implement network battle and practice modes with question generation 2025-04-25 18:05:34 +08:00

.

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

yarn

Compile and Hot-Reload for Development

yarn dev

Type-Check, Compile and Minify for Production

yarn build

Lint with ESLint

yarn lint