mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 18:41:08 +02:00
Split monolithic RPGScene.js (1210 lines) into modular manager classes: - WorldManager, PlayerManager, NPCManager, ChatUI, StorageManager, SoundManager, TouchControls Key improvements: - Constants config (GAME_CONFIG) replacing all magic numbers - JSDoc types + jsconfig.json for IDE type-safety - LocalStorage persistence for progress, stats, and custom avatars - Synthesized sound effects via Web Audio API - 26 NPCs (up from 10) in 3 categories - Stats/leaderboard in main menu - Pixel editor avatar integration with RPG game - Mobile touch controls (virtual joystick + interact button) - Chat UI with typing indicator and conversation history - Interactive tutorial overlay for first-time players - Floating question mark over NPCs in range - Server hardened: rate limiting, input sanitization, CORS restrictions, API timeouts, conversation history cap - Particle effect object pooling - i18n framework with DE/EN and language switcher Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
284 B
JSON
13 lines
284 B
JSON
{
|
|
"compilerOptions": {
|
|
"checkJs": true,
|
|
"strict": false,
|
|
"target": "ES2020",
|
|
"module": "ES2020",
|
|
"moduleResolution": "node",
|
|
"lib": ["ES2020", "DOM"],
|
|
"typeRoots": ["./node_modules/@types"]
|
|
},
|
|
"include": ["js/**/*.js", "data/**/*.js"],
|
|
"exclude": ["node_modules"]
|
|
}
|