Web games

Salt Run

A mountain goat descends for salt and has to make it back to the herd alive. The deeper you go, the more valuable minerals you can find, but the higher the chance of encountering a predator.

Year
2026
Role
Sole author
  • TypeScript
  • Canvas
  • Vite

Open the project

/play/salt-run/index.html
New tab

Tap to jump, swipe down to drop faster. The game is built for a phone, hence the portrait frame.

Gallery

About the project

An arcade game in TypeScript and Canvas with no game engine: portrait screen, taps and swipes for control. The descent is fast and almost free, the way back is hard — you only get up by jumping and clinging to walls. The asymmetry falls out of the physics itself, with no separate "climbing mechanic".

What is inside

  • The world is assembled not from noise but as a vertical ribbon of hand-tuned fragments — randomness only decides the order
  • Traversability is proven by a graph, not by eye: after every fragment the builder checks the stretch and repairs dead ends
  • The predator routes over the terrain with Dijkstra — climbing costs more than descending, so it never goes up without reason
  • The tutorial is built into the first descent: each hint appears where the terrain already demands the skill