A browser-based typing game where players move a character using WASD controls and type words they encounter. The game features multiple stages, high scores, and various visual/audio effects.
typing-game/
├── index.html
├── css/
│ ├── main.css [✅ Implemented]
│ └── game.css [✅ Implemented]
├── js/
│ ├── core/
│ │ ├── game.js [✅ Implemented]
│ │ ├── collision.js [✅ Implemented]
│ │ ├── input-manager.js [✅ Implemented]
│ │ ├── particles-system.js [⏳ Pending]
│ │ ├── sprite.js [✅ Implemented]
│ │ └── words.js [✅ Implemented]
│ ├── ui/
│ │ ├── menu.js [✅ Implemented]
│ │ ├── score.js [✅ Implemented]
│ │ ├── transitions.js [🔄 In Progress]
│ │ └── ui-manager.js [🔄 In Progress]
│ ├── utils/
│ │ ├── audio-manager.js [⏳ Pending]
│ │ ├── config-loader.js [✅ Implemented]
│ │ ├── storage.js [✅ Implemented]
│ │ └── stats.js [✅ Implemented]
│ └── main.js [✅ Implemented]
├── config/
│ ├── games/
│ │ └── default.json [✅ Implemented]
│ ├── stages/
│ │ ├── stage-1.json [✅ Implemented]
│ │ ├── stage-2.json [✅ Implemented]
│ │ └── stage-3.json [✅ Implemented]
│ ├── words/
│ │ └── default-wordlist.json [✅ Implemented]
│ └── themes/
│ └── default.json [✅ Implemented]
└── assets/
├── sounds/ [⏳ Pending]
└── images/ [⏳ Pending]
const STAGE_CONFIG = {
1: {
wordCount: 5,
wordSpeed: 1,
scoreToAdvance: 50
},
2: {
wordCount: 7,
wordSpeed: 1.3,
scoreToAdvance: 120
},
3: {
wordCount: 9,
wordSpeed: 1.6,
scoreToAdvance: 200
},
4: {
wordCount: 12,
wordSpeed: 2,
scoreToAdvance: 300
}
};
{
// High Scores
'highScores': [{
score: number,
stage: number,
date: string,
difficulty: string
}],
// Settings
'gameSettings': {
sound: boolean,
music: boolean,
particles: boolean,
difficulty: string
},
// Game Progress
'gameProgress': {
lastStage: number,
unlockedStages: number[]
}
}
Would you like me to: