r/devblogs • u/Key_University6995 • 4d ago
postmortem The Trap of Vibe Coding an MMO (Devlog Week 11)
https://www.youtube.com/watch?v=iP2N4YJIAdw
2
Upvotes
r/devblogs • u/Key_University6995 • 4d ago
1
u/ShippedItAnyway 3d ago
Week 11 of an MMO is exactly where the vibe coding trap bites: the code that gets you a playable prototype in a weekend is not the code that survives a few hundred players doing unexpected things at the same time. The testing pain in these comments tracks with that, it usually means the architecture underneath needs another pass rather than more vibe. Are you leaning toward rebuilding the core loops properly now or patching forward and refactoring after launch?
-1
u/aberroco 4d ago edited 4d ago
Looking at this gives me a reason to pat myself on the shoulder.
Firstly, my project is very loosely tied to Unity, it's mostly code-driven.
Secondly, the first fact gives me ability to setup my tests in a fully controlled isolated environment. Such that it doesn't require Unity for play mode tests, tests setup their isolated context and drive world updates/fixed updates, as much as they need, in code. Meaning that a test that would take like 5 seconds could be done in milliseconds, simulating frames of those 5 seconds. Now my full test suite takes about a minute, with few thousands tests, ran in few hundreds contexts. Maybe not ideal, maybe it might miss something that could only appear in real environment, but I'd bet anything that no tests could cover everything anyway.