THE
TYPING DEADTYPING DEADTYPING DEAD
Projektstruktur
Hier findest du eine Übersicht über die Projektstruktur
Komponenten
app/components/- game/ - Game specific components
- ui/ - Reusable UI components
- debug/ - Development and debugging components
- modals/ - Modal dialog components
Projektstruktur
📦 app
┣ 📂 components
┃ ┣ 📂 game {/* Game-specific components */}
┃ ┣ ┣ 📜 GameControls.tsx
┃ ┃ ┣ 📜 GameInput.tsx
┃ ┃ ┣ 📜 GameOver.tsx
┃ ┃ ┣ 📜 GameTimer.tsx
┃ ┃ ┗ 📜 LivesDisplay.tsx
┃ ┣ 📂 ui {/* Reusable UI components */}
┃ ┃ ┣ 📜 ErrorBoundary.tsx
┃ ┃ ┣ 📜 Header.tsx
┃ ┃ ┣ 📜 NavigationWrapper.tsx
┃ ┃ ┣ 📜 NotebookMenu.tsx
┃ ┃ ┣ 📜 PauseOverlay.tsx
┃ ┃ ┣ 📜 SettingsButton.tsx
┃ ┃ ┣ 📜 SettingsOverlay.tsx
┃ ┃ ┗ 📜 TopScores.tsx
┃ ┣ 📂 debug {/* Development tools */}
┃ ┃ ┣ 📜 DebugBox.tsx
┃ ┃ ┗ 📜 ScoreToast.tsx
┃ ┗ 📂 modals {/* Modal dialogs */}
┃ ┗ 📜 HighscoreModal.tsx
┣ 📂 hooks
┃ ┣ 📜 useLanguage.tsx
┃ ┣ 📜 useAudio.ts
┃ ┣ 📜 useGameControl.ts
┃ ┣ 📜 useInputHandling.ts
┃ ┣ 📜 usePlatform.ts
┃ ┣ 📜 useTheme.ts
┃ ┗ 📜 useSentenceProcessing.ts
┣ 📂 providers
┃ ┗ 📜 ThemeProvider.tsx
┣ 📂 utils
┃ ┣ 📜 calculations.ts
┃ ┗ 📜 highscoreManager.ts
┣ 📂 data {/* Game data and configurations */}
┃ ┣ 📜 difficulties.ts
┃ ┣ 📜 scoring.ts
┃ ┗ 📜 sentences.ts
┣ 📂 translations {/* i18n resources */}
┃ ┣ 📜 de.json
┃ ┣ 📜 en.json
┃ ┗ 📜 tr.json
┣ 📜 constants.ts {/* Global constants */}
┣ 📜 layout.tsx {/* Root layout with providers */}
┣ 📜 page.tsx {/* Home page */}
┣ 📜 about/page.tsx
┣ 📜 contact/page.tsx
┣ 📜 docs/page.tsx
┣ 📜 rules/page.tsx
┣ 📜 structure/page.tsx
┗ 📜 globals.css