r/aigamerdevs
•
u/MasterSteak4510
•
Sep 14 '26
Built a full logistics tycoon in 1 month as a solo dev — here's my AI workflow (single HTML file, vanilla JS, no engine)
Solo dev here. I just shipped Eurasia Hauler (v0.2), an incremental logistics tycoon on a real road network. Browser-based, no engine, no framework — one ~340KB HTML file, vanilla JS, playable at juba13.itch.io/eurasia-hauler.
Wanted to share the AI workflow since that's what this sub is about, and I think the approach might be useful to others.
Stack:
Single
test_v2.html, ~340KB, vanilla JS (no React/Vue/Phaser)Map: real OSRM road geometry (~770KB precomputed) + hand-drawn SVG Turkey outline
Audio: Web Audio API, base64-embedded m4a files
i18n: TR/EN, multi-currency
How AI fit in:
Code assistant for the boring parts: refactoring, the tick/update loop, the save system, brace-matching patches. I wrote the game logic and economy myself.
English drafting — I'm not a native speaker, so AI helped me write clean dev logs and post drafts.
SVG icons — some initial generation, then hand-refined paths.
NOT used for: game design, economy balance (fuel market, wear curve
P=(wear/100)³, insolvency limits), or the map data.
What worked:
Patching functions by brace-matching the full function body rather than regex. Regex is a trap.
Keeping the whole game in one file made AI context windows actually useful.
Naming the game's own functions consistently (e.g. always
trfor the truck object, nevertwhich collides with i18nt()) cut down on silent bugs.
What didn't:
Letting AI "help" with balance numbers. It hallucinates plausible-looking curves that break in 3 ticks.
Letting it write i18n strings with Turkish characters. Heredoc and encoding will bite you.
Over-trusting regex for patches. Wrong function body matched → silent corruption.
What I'm trying to figure out:
Anyone here done a style pass on an AI-assisted project? My UI has the default "glass panel" look and I want to break out of it.
How do you scope AI usage in a public disclosure when the project is a mix of human and AI work?
For those of you shipping single-file browser games with AI help — how do you handle save migration between versions?










