feat(01-02): screen management and companion definitions

- Create companion/characters.ts with 4 companion definitions (fee, einhorn, fuchs, eule)
- Create app.ts with showScreen, getDB, initApp (routes to welcome or forest)
- Update main.ts to call initApp on DOMContentLoaded
- Add stub ui/screens.ts for initWelcomeScreen

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 11:05:59 +02:00
co-authored by Claude Opus 4.6
parent 3462a6704e
commit 4b5502f5fa
4 changed files with 77 additions and 1 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import "./styles/main.css";
import { initApp } from "./app";
console.log("Zauberwald loaded");
document.addEventListener("DOMContentLoaded", initApp);