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 richer the haul — and the likelier the predator.

Year
2026
Role
Sole author
  • TypeScript
  • Canvas
  • Vite

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
  • One seed always yields the same mountain — otherwise procedural generation is impossible to debug