Touch: Drag on screen to steer with the virtual analog stick. Confirmed working directly -- a genuine drag is needed, a static hold does nothing. · Keyboard: Arrow keys or WASD to steer.
About:
A properly built classic Snake: eat apples, grab gold, avoid the walls. A VERSUS mode sits alongside single-player for extra replay value. Part of Frank Force's LittleJS Arcade collection.
Credits:
Made by Frank Force (KilledByAPixel), 2026. Published here under the MIT licence.
Source code.
Phone check: Played on a simulated phone (390x844, touch) and desktop via playtest.js. Zero console/page errors. Touch confirmed directly by checking the snake's own internal direction state: a static hold left it unchanged, a genuine drag correctly updated it. A full round (title to game-over) played out cleanly via touch alone.