Fabrikon is an idle/tycoon game in the style of AdVenture Capitalist: buy factories, managers switch production to automatic, milestones double the profit, prestige brings permanent multipliers. The entire economy is pure, deterministic mathematics – and it can be tried out right here.
Four of the 24 factories, the same numbers as in the app – including the production chain: the Scrap Collector fills the storage, and the Bolt Works and the Gear Foundry consume from it according to a real bill of materials. Purchase costs grow exponentially, milestones double the profit, a manager switches production to automatic. The rest (three further plants, end products, prestige, boosts, shop, offline earnings) is reserved for the app.
economy.ts.RECIPES and BATCH.Tip: Let the Scrap Collector run first, because without scrap in storage the Bolt Works and the foundry stand still. The first profit makes the manager affordable – from then on the chain runs in its sleep.
Fabrikon is built on what really keeps idle players hooked – clear goals, noticeable leaps, never a wall without a way out.
Metal & silicon, wood, glass and photonics – from the scrap collector via the fusion reactor to the telescope mirror. Every new factory is a goal worth reaching.
Bolts need scrap, chips need wafers, robots need both: the factories supply each other according to a real bill of materials – and end products refine the parts into permanent bonuses.
Every factory can be automated with a manager. After that it keeps producing, even without further input.
At certain unit counts the profit doubles or production gets faster – the reason to always buy “just one more”.
Reset everything in exchange for investors who permanently increase the profit. The first restart already pays off after just under half an hour.
Temporary doublings and time warps that credit hours of production immediately – for speeding up, not as an obligation.
Production continues even when the app is closed. On returning, the earnings from the break are waiting.
The heart of Fabrikon is not a graphic but a formula. The entire economy is stateless, deterministic mathematics – which is why it can be checked by simulation, and why the same calculation also runs here in the browser.
Purchase, earnings and cycle mathematics live in a separate file without state. A test suite checks them with many plausibility runs.
User interface in React with TypeScript, state management via Zustand, animations with Framer Motion, styling with Tailwind.
Built with Vite – around 95 KB compressed. Quick to start, quick to test, small to ship.
Capacitor turns the same web code base into the native Android app for the Play Store.
Production runs on a clock that keeps calculating correctly even in the background and after breaks.
Factories, machines and conveyor belts are drawn in code and visibly grow with the upgrade levels.
Fabrikon is playable, is in closed testing and is currently being prepared for publication. The core and the content are in place; the final polish is under way.
Cost curves, milestones, managers, prestige and offline earnings – deterministic and checked by simulation.
24 factories in four plants, production chains with a real bill of materials, animated production lines, upgrade levels, shift supervisors, shop, boosts and prestige view.
Adjusting the curves so that every section is worthwhile, plus store preparation and tests on real devices.
As soon as it is ready, the link will appear here.
Questions about how it is built, the decisions behind it or how it might transfer to another case.