← All projects

Project · 2024

Gridlock

A daily logic puzzle game running in the browser through WebAssembly.

RoleSolo project
WhereSide project
Year2024
StackGo, WASM, Canvas

The problem

I wanted a puzzle that finishes in five minutes, plays the same for everyone, and never needs an account or an ad.

The approach

  1. 01Wrote the puzzle generator in Go and compiled it to WebAssembly so it runs offline.
  2. 02Seeded each day from the date, so every player gets the same board.
  3. 03Drew everything on a single canvas to keep the page under 100KB.

The outcome

  • 12kplayers a week
  • 97KBwhole page weight
  • 0accounts or ads

Screenshots

Next projectPlantwatch →