Files
probability/README.md
T

1.3 KiB

Probability

A neon space-trading sim where unobserved ships are probability waves.

Inspired by Space Rangers. Every NPC trader plans real routes and real trades, but between observations its position is a probability cloud smeared along the jump lanes — and so is your knowledge of every market more than a news-day away. Observation collapses the cloud: enter a system and ships condense out of the static; dock at a planet and its prices become real.

Under the hood the universe is deterministic ("hidden variables" drawn lazily from per-ship seeds) — the probability is yours, not the universe's.

Run

npm install
npm run dev        # play at http://localhost:5173 (add ?seed=anything for a new galaxy)
npm test           # headless sim test suite

How to play

  • You start docked. Buy what a planet produces cheap, sell where it's consumed.
  • Sidebar: navigation, market (when docked), cargo, intel, log. Space = pause, Tab = map/system view. Click planets/gates/systems to move; click systems on the map for price intel — note the age tag, old news lies.
  • Lanes are tinted by pirate danger. Dangerous shortcuts are profitable until they aren't.
  • Orange smears on the map are ships you've met: where they probably are now.
  • Reach 100,000 credits to win. Lose your ship and it's over.