Game · 2026 · Jasa
From V5 to V12: how an online board game grew up
Maps, multiplayer and AI management kept piling on, yet the latest version is about subtraction. The commit history records it all.
A browser game to play with friends
World Tycoon runs in a browser, with online play for 2–4 people, AI opponents, shared-screen turns and nine maps. The front end is plain JavaScript and the back end uses only Node.js built-ins. It is open source under MIT.
The key to multiplayer: do not trust the client
If dice were rolled in the player's browser, cheating would take one line of code. So rolling and settlement live on the server, and every action is checked for turn, ownership and amount.
Real networks drop, so more cases need handling: seats are kept and can be recovered, timeouts trigger default actions, hosts can transfer, and AI can fill empty seats. All of this appears in the V9 and V11 commits.
More features, more checks
Each new mechanic adds combinations that can go wrong. V11 also separated AI-managed games from human samples, so bots would not skew the balance data.
The last step is subtraction
By V12 the focus was no longer adding features: the top bar keeps only the map round, multiplayer and menu, decision details open when needed, the main phone controls moved to a bottom bar, and the motion got lighter. The next fix was low text contrast in dark mode.
The source is on GitHub, and you can start a game right away.
← All notes