Walls are solid. Eat apples to grow. Speed increases with score.
Arrows / WASD — Pause: P or Space — Restart: R
Every apple = +1. Every 5 points increases speed by 1 (max 16). High score stored locally.
Small, self-contained example built to be easily readable and portable.