404 games
The games and animations of this site's 404 page, all four in one place: break the 404, eat it, scramble it or scatter it.
- #canvas
- #games
- #svelte
These games and animations run in your browser and need JavaScript.
Breakout
The rules are plain functions in breakout.ts, tested without a canvas. The ball moves in small steps, so it never jumps over a brick, and the spot where it hits the paddle sets its angle. Breakout.svelte only draws each frame and listens to the keys, the pointer and touch.