Balancing Orbit Factory with a simulator

Orbit Factory is a free idle space-mining game: you tap asteroids, launch drones that mine on their own, and grow a space station across six star systems. Idle games are mostly a pacing problem. Too slow and players leave, too fast and there is nothing left to want. Here is how we keep the pacing honest.
Rules as pure functions
Everything that changes the game state (earning ore, buying drones, upgrades, research, jumping systems, warping) is written as small functions with no graphics, sound or browser code in them. The game calls them, and so does a balance simulator.
A bot that plays the game for us
The simulator plays Orbit Factory the way a plausible player would: buying drones and upgrades, running research, jumping to new star systems and warping. Because the rules have no graphics, it can play an hour of the game in a moment and print a timeline of when each milestone happens: first drone, first upgrade, each jump, each Warp.
That lets us answer questions like "how long until the third star system?" or "is the Refinery ever worth buying?" with numbers instead of guesses, and check them again after every change.
Warp: resetting on purpose
Reach the third star system and Warp unlocks. Warping resets your run but pays Warp Cores, and every core adds 25% production forever. Cores grow with the cube root of what you earned that run, so a longer run always pays more, but each extra hour pays a little less. That curve is what makes "should I warp now?" an interesting choice instead of an obvious one.
- 6 star systems, each with its own ore, colors and multiplier
- 16 research projects, run one at a time and kept across Warps
- Drones keep mining while you're away (offline earnings)
Orbit Factory is coming soon to CrazyGames, free to play in your browser on phone, tablet or computer.