A modern take on the classic Brick Breaker game, featuring a shooting star that bounces off a deer paddle to break colorful bricks. Built with vanilla JavaScript and HTML5 Canvas.
- Smooth gameplay with particle effects
- Meteor tail animation for the ball
- Colorful brick layout with collision detection
- Custom deer paddle controlled by mouse movement
- Lives system and score tracking
- Responsive game messages and restart options
- Beautiful gradient animated background
- Modern visual design with SVG graphics
- Move your mouse to control the deer paddle
- The shooting star (ball) will bounce off the paddle
- Break all the bricks to win
- You have 3 lives to complete the game
- If you miss the star, you lose a life
- Game ends when all lives are lost or all bricks are broken
- Built with pure JavaScript, HTML5 Canvas, and CSS3
- No external dependencies required
- Responsive design that works on various screen sizes
- SVG graphics for smooth scaling
- Particle system for visual effects
- Collision detection system
- Game state management
- Clone the repository
- Open
index.html
in your browser - Click "Start the game" to begin playing
game.js
: Main game logic and renderingindex.html
: Game container and message boxstyles.css
: Game styling and animations
You can customize various aspects of the game by modifying constants in game.js
:
- Ball speed and size
- Paddle dimensions
- Brick layout (rows, columns, spacing)
- Colors and visual effects
Feel free to fork the project and submit pull requests. You can also open issues for bugs or feature requests.
MIT License - feel free to use this code for your own projects!