Escape Room is an interactive adventure game where players navigate through dynamic levels to retrieve keys and hammers hidden within cactuses and treasure boxes. Players must use their problem-solving skills to answer questions correctly to progress through levels and avoid aggressive skeletons patrolling the area.
Navigate through obstacles, collect items, and answer questions to escape each room. Beware of skeletons - a single touch means game over!
- Arrow keys: Move your character
- Letter keys: Answer questions
- Hidden items: Search cactuses and boxes for keys and hammers
- Obstacles: Avoid rocks and fires that block your path
- Enemies: Stay away from patrolling skeletons
- Find a key hidden in a cactus or box
- Open the chest with the key
- Answer the question correctly to advance
- Find a hammer hidden in the environment
- Break the door with the hammer
- Reach the exit
- Answer the final question to escape
- Vanilla JavaScript implementation with no external libraries
- Custom collision detection system
- Randomized item placement for replayability
- Interactive question and answer system
- Immersive sound effects and background music
The game features carefully selected sound effects and background music that enhance the gaming experience. We highly recommend playing with volume turned on for full immersion.
- Alert popups may repeat when revisiting areas where items were previously collected
- Visual artifacts may remain after collecting keys (clearRect issues)
- Some collision detection edge cases remain to be fixed
The game is built using pure JavaScript, HTML5 Canvas, and CSS. Audio elements are implemented using local sounds.
// Example of player movement implementation
function movePlayer(direction) {
switch(direction) {
case 'up':
if(!checkCollision(player.x, player.y - player.speed)) {
player.y -= player.speed;
}
break;
// other directions...
}
redrawGameElements();
}- Additional levels with increasing difficulty
- More puzzle types and interactive elements
- Character customization options
- Leaderboard and scoring system
Happy escaping! 🗝️🔨 Made with ❤️ by NDMH
