Snake
Swipe to steer. Eat, grow, and keep off your own tail.
The snake moves one square each step. A swipe of a short distance on the board turns it that way, and one long drag can make more than one turn. A tap turns it towards the tap: above or below the head when it runs across, left or right of the head when it runs up or down. Left and Right turn it from the way it is heading. Turns wait in a queue of up to three and one is used each step, so a quick swipe up then left makes a tight U turn. A turn straight back, or the way it already goes, is ignored. Each fruit is worth 10 points and makes the snake one longer and a little faster, from about 6 to 12 steps a second. On a keyboard, arrow keys or W A S D steer and Escape pauses. The game pauses when you leave the tab.
Built with HTML, CSS, Canvas and JavaScript. Moves run on a fixed tick inside a fixed-step loop, a swipe becomes a turn once it passes 22 pixels, and turns wait in a short queue so a quick pair is never lost between steps. No tracking. Best score stays in this browser.