BREAK//OUT
HTML5 CANVAS · 400×600 · VANILLA JS · NO LIBRARIES
RUNTIME ACTIVE
AABB SOLVER
60 FPS TARGET
SCREEN 400 × 600— FPS

Player Readout

SLOT 01
SCORE
0
LIVES
BEST0
BRICKS LEFT32
STATEATTRACT

Live Telemetry

/ FRAME
BALL POSITION200, 570
VELOCITY VECTOR0.00, 0.00
SPEED MAGNITUDE3.40
BOUNCE ANGLE-45.0°
PADDLE X · W60170
COMBO CHAIN×1
SPEED RAMP

Controls

INPUT
← →Move paddle (desktop, hold to accelerate)
MOUSEPointer over playfield tracks paddle
DRAGTouch drag slides paddle 1:1 under your thumb
SPACELaunch ball · restart after game over
TAPLaunch / restart (mobile, no drag)
P · M · RPause · mute · rebuild the 8×4 grid

Physics Notes

v1.0

Ball travels at a constant 3.40→4.00 px/frame magnitude; every reflection is renormalised so velocity never inflates. Brick contacts are resolved by AABB penetration depth, closest hit first, max 2 per frame — so the ball can never be absorbed into the wall. Paddle bounces map offset → angle (up to 62°) with a 4° floor, keeping rallies out of dead-vertical stalls.

Grid Spec

8 × 4
BRICK CELL50 × 20 px
TOTAL BRICKS32
MAX SCORE320 PTS
PADDLE / BALL60×10 · r3