Canvas Arcade · No Libraries

Breakout

Thirty-two cyan bricks, one yellow ball, three lives. Where the ball meets the paddle decides where it goes — catch it on the edge and it flies wide, dead-centre and it climbs straight. Chain bounces without touching the paddle and the score multiplier runs.

8 × 4 grid50 × 20 bricks3 lives60 fpsAABB collisions

Readout

Score000
Best000
Bricks left32/32
Ball velocity3.40
Lives
Standby400 × 600 · canvas 2d

Controls

Move paddle←→ADdrag
Launch ballspacetap
Pausep
Restartrbutton

Field spec

Brick wall8 cols × 4 rows
Paddle60 → 44 px
Ball radius3 px
Speed3.4 → 4.2 px/f
Max paddle angle68°

Touch

Drag anywhere on the playfield to slide the paddle — it eases toward your finger so strokes stay smooth. Layout scales from 320px phones to landscape tablets; scrolling is suppressed on the canvas only.