A browser-based tank shooting game inspired by Asteroids, featuring car-like tank controls and progressive enemy fragmentation.
- Open
index.htmlin your web browser - Use keyboard controls to drive the tank and shoot enemies
- Avoid colliding with red enemy squares
- Destroy enemies by shooting them - larger enemies split into smaller ones
- Earn points for each enemy destroyed
- Arrow Keys or WASD: Control the tank
- Left/Right: Steer (turn)
- Up: Accelerate forward
- Down: Accelerate backward (reverse)
- Spacebar: Shoot projectiles
- R: Restart game when game over
- Car-like Physics: Tank has momentum, friction, and realistic driving mechanics
- Enemy Fragmentation: Large enemies (red squares) split into smaller enemies when destroyed
- Screen Wrapping: All objects wrap around screen edges like classic Asteroids
- Progressive Difficulty: Smaller enemies move faster and give more points
- Scoring System: Points awarded based on enemy size (smaller = more points)
- Built with HTML5 Canvas and vanilla JavaScript
- No external dependencies required
- Runs entirely in the browser
index.html: Main HTML pagestyle.css: Styling for the gamegame.js: Game logic and renderingREADME.md: This file
Enjoy the game!