Translate

Tuesday, May 26, 2026

I vibe-coded a browser-based business tycoon game — Tycora. Here’s what it does + the roadmap

Wallpapers | May 26, 2026 | No comments


Been building this in my spare time and it’s finally playable enough to show.It’s a tycoon game in the browser. No signup, no install, you just open the link and you’re in it makes a guest account behind the scenes. You start with a coffee cart and the whole point is turning that into a stupidly big empire across different sectors. Real estate, app studios, AI labs, banks, crypto, eventually entire cities.Early on it’s tap to earn, then your businesses start paying out on their own. The part I actually care about is the events though. There’s an AI “director” that keeps throwing stuff at you regulators, scandals, a market crash and you choose how to deal with it (comply, deny everything, double down). Stops every run feeling the same. There’s also a stock market to trade, seasons with a leaderboard, and a ranking/prestige system if you want to reset and climb again.Stack is React + Vite, Hono/Bun for the backend, PocketBase for data.A few things I learned the hard way:• Keep all the game logic server-side. Early on I had the client doing money math and it took about five minutes of playing my own game before I realized anyone could just edit their balance in the console. Moved everything to the backend so the client basically just asks “can I do this?” and the server decides. Should’ve done that from day one.• The admin panel was the best time I spent. I almost skipped it to “just ship the game,” but building a little internal tool to tweak prices, businesses, events etc. without redeploying has saved me probably more hours than it took to build. Now balancing is a slider instead of a deploy.• AI writes code fast but it’ll happily paint you into a corner. It’s incredible for momentum but if you don’t stop and actually read what it’s doing, you end up with stuff that’s coupled in weird ways and a refactor you didn’t budget for. I got burned a couple times taking a working feature at face value.• The fun is in the tuning, not the features. Adding a new mechanic is the easy dopamine hit. Making the economy actually feel good to play is the real work, and it’s mostly not done yet.What’s left on the list: proper PvP / hostile takeovers, deeper AI storylines, generated art for everything (some’s still emoji placeholders), a lot of balance passes, better mobile/offline since it’s a PWA, and account linking so you don’t lose your save.Fair warning, it’s on a testing domain still so stuff will break and I might wipe saves while I’m messing with it. Would really appreciate honest feedback, especially where you got bored or confused.[ Link in comments ]Waiting for feedbacks via /r/vibecoding https://ift.tt/PrmnkEy



Email Newsletter

Like what you read here in this blog post?
Get more like it delivered to your inbox daily.



No comments:

Post a Comment