managarten/apps/manadeck/apps/web
Till JS c0c11c325a feat(whopixels): major refactor with 20 improvements across architecture, gameplay, UX, security, and i18n
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>
2026-03-21 15:26:40 +01:00
..
src feat(whopixels): major refactor with 20 improvements across architecture, gameplay, UX, security, and i18n 2026-03-21 15:26:40 +01:00
static refactor: restructure 2025-11-26 03:03:24 +01:00
.env.example refactor: restructure 2025-11-26 03:03:24 +01:00
.gitignore refactor: restructure 2025-11-26 03:03:24 +01:00
.npmrc refactor: restructure 2025-11-26 03:03:24 +01:00
eslint.config.js improve code quality 2025-12-03 23:42:37 +01:00
package.json feat(whopixels): major refactor with 20 improvements across architecture, gameplay, UX, security, and i18n 2026-03-21 15:26:40 +01:00
README.md refactor: restructure 2025-11-26 03:03:24 +01:00
svelte.config.js style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
tailwind.config.js.bak chore: archive inactive projects to apps-archived/ 2025-11-29 07:03:59 +01:00
tsconfig.json refactor: restructure 2025-11-26 03:03:24 +01:00
vite.config.ts feat: show build date/time on login screen across all apps 2026-03-21 12:40:57 +01:00

sv

Everything you need to build a Svelte project, powered by sv.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npx sv create

# create a new project in my-app
npx sv create my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.