snek

· By Julian, 2017; touch controls added with an AI assistant, 2026 · Finished

Snake, written in p5.js in 2017. The score is labelled Self worth, and losing prints a disappointed line such as this is worse than the spaghetti incident.

A still of snek: a long snake of dots shading from yellow to red on a cyan field, with the score in the top corner.

Play snek Open on its own page

Loads about 1 MB when you press Play. Nothing loads before that.

How to play: arrow keys on a keyboard; on a phone, swipe or use the on-screen pad.

I've avoided watching any of the video so I can solve the problem myself, then compare afterwards.

Julian, the README, 2017; the idea came from a Coding Train video

Written by Julian in 2017. Touch controls added in 2026 with an AI assistant. Drawn with p5.js 0.5.6, a separate library under the GNU LGPL 2.1.