A thrilling web-based space shooter game built with HTML5 Canvas and vanilla JavaScript. Dodge enemies, collect power-ups, and survive as long as possible in this arcade-style space adventure!
🕹️ Click here to play instantly! (https://mohammadhamza96.github.io/Space-Invader-Game/)
- Smooth Gameplay: 60 FPS action with responsive controls
- Multiple Enemy Types**:
- Basic enemies for steady challenge
- Fast enemies for quick reflexes
- Tank enemies that require multiple hits
- Zigzag enemies with unpredictable movement - Power-Up System:
- 🛡️ Shield protection
- ⚡ Speed boost
- 🔫 Multi-shot capability - Visual Effects:
- Particle explosions
- Engine trails
- Glowing power-ups
- Audio System: Dynamic sound effects using Web Audio API
- Progressive Difficulty: Game gets harder as you survive longer
- High Score System: Track your best performances
- Responsive Design: Works on desktop and mobile devices
- A or ←: Move left
- D or →: Move right
- Spacebar: Shoot
- P: Pause/Resume game
- Survive as long as possible
- Shoot enemies to earn points
- Collect power-ups to gain advantages
- Avoid enemy collisions (you have 3 lives)
Simply click the play link above - no installation needed!
- HTML5 Canvas - Game rendering
- Vanilla JavaScript - Game logic and mechanics
- CSS3 - Styling and animations
- Web Audio API - Sound effects
- Modular Design: Separate files for different game systems
- Object-Oriented: Entity-based game objects
- 60 FPS Game Loop: Smooth animation using requestAnimationFrame
- Particle System: Dynamic visual effects
- State Management: Menu, playing, paused, and game over states
space-dodge-enhanced/
├── index.html # Main game page
├── style.css # Game styling
├── game.js # Core game logic
├── entities.js # Player, enemies, bullets
├── audio.js # Sound system
├── particles.js # Visual effects
├── powerups.js # Power-up system
├── server.py # Development server
└── README.md # This file
Contributions are welcome! Here are some ways you can help:
- Report bugs or suggest features
- Improve graphics or sound effects
- Add new enemy types or power-ups
- Optimize performance
- Enhance mobile experience
- Fork the repository
- Create a feature branch:
git checkout -b feature-name - Make your changes
- Test thoroughly
- Submit a pull request
- None currently! Report any issues you find.
- Inspired by classic arcade space shooters
- Built with modern web technologies
- Sound effects generated using Web Audio API