make a brick breaker web game with power ups, 10 levels, and soccer themed.
- User
make a brick breaker web game with power ups, 10 levels, and soccer themed.
Assistant
make a brick breaker web game with power ups, 10 levels, and soccer themed.
I'll build GOAL BREAKER — a soccer-themed brick breaker with 10 tournament levels, 8 themed power-ups, canvas physics, and a full stadium presentation. Let me check the current setup files first.
Setup confirmed — Tailwind 4 + React 19. Now creating the HTML shell with sporty fonts and the global styles.
Now the global stylesheet with the theme tokens and animations.
Now the tournament data: 10 level layouts, brick types, and the power-up catalog.
Let me clean up a few level rows I wrote with string hacks — replacing them with explicit, verified strings.
One row still has a leftover hack — fixing it to a plain string.
Now the synthesized sound engine — whistles, crowd cheers, kicks, and fanfares, all generated with Web Audio (no assets needed).
Now the core of the game — the canvas engine with physics, power-ups, particles, and all the rendering.
Engine done. Now the stadium scoreboard HUD component.
Now all the overlay screens — menu, match select, how-to-play, pauses, full-time results, and the championship celebration.
Now the main integration component that wires the engine to the React UI.
Now the App entry point.
Now let's build to validate everything compiles.
Build passed. Reviewing the collision code, I spotted a real bug: when Striker Mode (fire ball) is active, the ball would pass through the unbreakable barrier bricks — those should always reflect it. Fixing now.
Now a responsive fix: the in-canvas HUD overlay would cover too much pitch on small screens, so I'll render a compact HUD above the arena on mobile and keep the scoreboard overlay on desktop. First, updating the Hud to support an inline mode.
Now updating the integration to use both HUD placements.
Need to close the new wrapper div around the desktop HUD.
Rebuilding to verify.
Build is clean. Let me do a final review of the level data to make sure every row parses correctly (all chars valid, no stray characters).
One leftover .slice() to clean, and let me check the first levels too.
All 10 levels are valid. Final build to confirm.
GOAL BREAKER is complete and builds successfully — a soccer-themed brick breaker set in a stadium, built with React + Canvas + Web Audio.
The Tournament — 10 matches, each a hand-designed brick layout with rising ball speed:
7 soccer power-ups + 1 hazard, dropped by purple ball-boy bricks and random defenders:
The soccer dressing:
Polish: fully synthesized Web Audio SFX (referee whistle, crowd cheers, fanfare — muteable), mouse/touch/keyboard controls, screen shake, particles, score persistence, and match-select unlocking saved across sessions. The HUD adapts for mobile so it never covers the pitch.
Files built: index.html, src/index.css, src/game/levels.ts, src/game/sounds.ts, src/game/engine.ts, src/components/Hud.tsx, src/components/Overlays.tsx, src/components/SoccerBreaker.tsx, src/App.tsx