Cabinet 0327 · 8 × 4 grid · phosphor Mk II

BRICK
BREAKER

Thirty-two cyan bricks, one yellow ball, three lives and a paddle the width of a promise. Clear the grid — 320 points is the ceiling.

INSERT COINfree play · rev 1.0
400×600 canvas AABB sweep collision 60 FPS fixed step 0 dependencies
400 × 600 · NTSC ready

Operator's Manual

Collision doctrine · edge-case register

01
Wall / ceilingLeft, right, top boundary
flip dy or dx · reposition flush
02
Paddle face60px white plate, y = 580
exit angle = contact offset × 56° · dy forced negative
03
Paddle flankSide face of the plate
flip dx · ball ejected outside plate
04
Brick, horizontal entryBall's X pass overlaps AABB
flip dx · brick dies · +10
05
Brick, vertical entryBall's Y pass overlaps AABB
flip dy · brick dies · +10
06
The floorBelow y = 600
lose a ball · streak reset · respawn on paddle