Skip to content

A colorful twist on the classic brick breaker game where the ball must match the brick color to break it. Built with HTML5 Canvas and JavaScript.

License

Notifications You must be signed in to change notification settings

shahbajtahershezan/Color-Match-Brick-Breaker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎯 Color Match Brick Breaker

HTML5 JavaScript Canvas

A modern, feature-rich brick breaker game with a unique color-matching twist. Built with pure HTML5 Canvas and JavaScript for smooth, responsive gameplay.

🎮 Features

  • Color Matching Mechanics - Ball must match brick color to break it
  • Multiple Power-ups - Speed boost, multi-ball, and wider paddle
  • Dynamic Gameplay - Ball changes color after breaking bricks
  • Responsive Design - Works on desktop and mobile devices
  • Beautiful Visuals - Smooth animations, glow effects, and modern UI
  • Score Tracking - Real-time score display and game statistics

🕹️ How to Play

Controls

  • A/D keys - Fast paddle movement
  • Arrow Keys - Normal paddle movement
  • R key - Restart game when game over

Game Rules

  1. Break bricks by matching the ball color with the brick color
  2. Each broken brick increases your score by 10 points
  3. Collect power-ups that drop from broken bricks
  4. Don't let the ball pass below your paddle
  5. Clear all bricks to win the game

Power-ups

  • 🔴 Red - Speed boost (30% increase)
  • 🟢 Green - Multi-ball (doubles active balls)
  • 🔵 Blue - Wider paddle (lasts 20 seconds)

🚀 Quick Start

Play Online

Visit the live demo: [GitHub Pages Link]

Run Locally

  1. Clone the repository:
git clone https://github.com/your-username/color-match-brick-breaker.git

About

A colorful twist on the classic brick breaker game where the ball must match the brick color to break it. Built with HTML5 Canvas and JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published