# Tower Defense Game A classic tower defense game built with HTML5 Canvas, CSS, and JavaScript. ## How to Play 1. Open `index.html` in your web browser 2. Select a tower type from the bottom panel 3. Click on the map to place the tower (avoid placing on the path) 4. Click "Start Wave" to begin sending enemies 5. Defend your base by strategically placing towers to defeat enemies 6. Earn gold by defeating enemies and completing waves 7. Try to survive as many waves as possible ## Features - Three different tower types: - Basic Tower: Balanced damage and range - Sniper Tower: High damage, long range, slow fire rate - AoE (Area of Effect) Tower: Damages multiple enemies in an area - Four enemy types with different characteristics: - Basic: Standard enemy - Fast: Quicker but weaker - Tank: Slow but high health - Boss: Very high health, appears in later waves - Game mechanics: - Wave-based progression with increasing difficulty - Gold economy for purchasing and upgrading towers - Lives system (lose a life when an enemy reaches the end) - Score tracking - Speed control (1x or 2x game speed) ## Controls - Click on a tower type to select it - Click on the map to place the selected tower - Click "Start Wave" to begin a wave of enemies - Click "Speed: x1/x2" to toggle game speed ## Technical Details - Built with vanilla JavaScript - Renders using HTML5 Canvas - No external libraries or dependencies - Responsive design that works on different screen sizes ## Setup No installation required! Simply download the files and open `index.html` in any modern web browser. Enjoy the game!