Clear connected groups of same-color blocks in this satisfying SameGame-style puzzle. Click large groups for exponential points, chain clears, and clear the entire board!

How to Play:
Color Blocks is a addictive grid-puzzle game where you click groups of connected same-color blocks to clear them from the board. Cleared blocks collapse, creating new opportunities for big combos!

Objective:
Clear all blocks from the board. The larger the group you clear, the more points you score. Plan your moves to set up big chain clears!

Controls:
- Desktop: Click on any block to select its connected group
- Mobile / Tablet: Tap on any block to select its connected group
- Click the highlighted group again to clear it (requires 2+ connected blocks)

Scoring:
- Clearing a group = n Γ— n Γ— 10 points where n is the number of blocks in the group
- This means larger groups score exponentially more: 2 blocks = 40pts, 5 blocks = 250pts, 10 blocks = 1,000pts!
- Clearing blocks causes blocks above to fall down, potentially creating new large groups
- High score is saved automatically in your browser

How Groups Form:
- Connected means blocks that share an edge (up, down, left, right) and have the same color
- Diagonal blocks do NOT connect β€” only orthogonal neighbors count
- When you clear a group, all blocks above fall down to fill the gaps
- This cascading effect is key to setting up big chain combos

Game Over:
- When no connected groups of 2+ blocks remain on the board β€” Game Over!
- This happens when all remaining blocks are isolated singles
- Final score is displayed with a Play Again button

Difficulty Levels:
- Easy: 3 colors on a 7Γ—9 grid (63 blocks) β€” fewer colors mean easier group-finding
- Medium: 4 colors on an 8Γ—10 grid (80 blocks) β€” more colors, more challenge
- Hard: 5 colors on a 9Γ—12 grid (108 blocks) β€” maximum complexity for puzzle veterans

Game Features:
- SameGame-style cascading mechanics β€” cleared blocks collapse from above
- Exponential scoring rewards big group clears over small ones
- Color-coded blocks with distinct visual identities
- Group highlighting shows exactly which blocks will be cleared
- Responsive grid layout adapts to any canvas size
- Three difficulty levels with varying grid sizes and color counts
- Game over detection when no more moves are possible
- Clean, minimal UI with real-time score display

Pro Tips:
- Always look for the largest group first β€” bigger clears score exponentially more
- Clear from the bottom to make blocks cascade and create new connections above
- Sometimes clearing a smaller group sets up a much bigger one β€” think ahead
- On Hard mode with 5 colors, the 108-block grid can be overwhelming β€” focus on one section at a time
- If you clear all remaining blocks in one shot, you get a massive bonus!

Similar Games