# ๐Ÿงฉ Escape the Labyrinth **Escape the Labyrinth** is a fun and challenging 2D maze game built with HTML, CSS, and JavaScript. Your mission is simple: navigate through the maze and reach the goal before time runs out. But donโ€™t get too confidentโ€”each level is filled with dead ends and tricky paths! --- ## ๐ŸŽฎ How to Play - ๐Ÿ”ผ Use **Arrow Keys** to move your player (green square) - โฑ๏ธ Reach the **goal** (yellow square) **within 30 seconds** - ๐Ÿšซ If you run out of time, the level restarts - ๐Ÿ’€ Touching walls or getting lost wastes time - ๐Ÿง  Solve the maze and **escape before itโ€™s too late!** --- ## ๐Ÿง  Features - โœ… Time-based challenge (30-second countdown) - โœ… Smooth arrow key movement - โœ… Custom maze grid - โœ… Auto-reset when time runs out - โœ… Pixel-perfect collision and layout --- ## ๐Ÿ› ๏ธ Tech Stack | Language | Usage | |-------------|---------------| | HTML | Structure | | CSS | Styling | | JavaScript | Game Logic | --- ## ๐Ÿ—‚๏ธ File Structure escape-labyrinth/ โ”œโ”€โ”€ index.html # Main HTML structure โ”œโ”€โ”€ style.css # All styling and visuals โ””โ”€โ”€ game.js # Game logic and maze movement yaml Copy Edit --- ## ๐Ÿš€ How to Run Locally 1. Clone this repo or download the ZIP 2. Open `index.html` in your browser 3. Start playing instantly! โœ… --- ## ๐ŸŒ Host on GitHub Pages Want to put your game online? 1. Push this repo to GitHub 2. Go to **Settings > Pages** 3. Choose branch = `main` and folder = `/root` 4. Done! Your game will be live at `https://yourusername.github.io/escape-labyrinth` --- ## ๐Ÿ“ธ Preview > Coming soon... *(add screenshot here)* --- ## ๐ŸงŠ Future Improvements - Add more levels - Add trap tiles - Sound effects and background music - Mobile controls --- ## ๐Ÿง‘โ€๐Ÿ’ป Made by **Maulik Daga**