Night Market Tycoon
Night Market Tycoon is a browser idle game with 20 businesses, 13 upgrades, 13 achievements, and a prestige loop at $1T total earned. ~2,000 LOC of vanilla JS on Vite, no framework, single-file production bundle, runs offline once loaded. Targets the CrazyGames / GameDistribution / Y8 portals with a 3-platform ad-SDK abstraction; source-available under PolyForm Noncommercial.
What Wasn't Working
Most browser idle games are stuck on Flash-era UX or feel like ad farms. Portal operators (CrazyGames / GameDistribution) want one bundle they can host themselves, with their ad SDK baked in.
How I Fixed It
Pure vanilla JS on Vite — single-file build output, sub-100KB compressed. One ad-SDK abstraction targets three portals via a single constant swap. break_eternity.js handles big-number math past 1e1000. Tamper-resistant Base64+hash saves so DevTools edits fail integrity check on load.