StianØyna

Software developer, Norway

Projects / 2026

Snake

The classic game in the browser, with keyboard and touch controls and a saved high score.

Open projectView source

A small game built without a framework: a 20 by 20 grid drawn on a <canvas>, with the snake moving on a fixed tick that speeds up as you score.

  • Steer with the arrow keys or WASD, pause with Space.
  • On phones, swipe on the board or use the on-screen pad.
  • Your best score is kept in the browser’s local storage.

It lives in apps/snake in this site’s repo and is built and deployed together with the rest of stiano.dev.