About this project

Coil is a small weekend project: a snake game whose rules are written in plain Go and compiled to WebAssembly, so the whole thing runs in your browser without a server-side component.

The game logic lives in a separate package with unit tests; the browser layer only draws to a canvas and reads the keyboard or touch input. Your best score is kept in your own browser's local storage and is never sent anywhere.

This page loads no third-party scripts, fonts or trackers.

Back to the game