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.
This commit is contained in:
Coldin04 2025-04-25 18:05:34 +08:00
parent 90b3876ea3
commit 6e9c0fef54
9 changed files with 1413 additions and 1 deletions

Binary file not shown.