r/opensourcegames • u/The_Basic_Lifestyle • 13d ago
Just released an alpha version of the game i was developing. Its a fun math demo and very familiar to those who have play minecraft - 3DGameOfLife
https://github.com/CameronWeller/3DGameOfLife-Vulkan-Edition
6
Upvotes
4
u/RadicalRaid 13d ago
A lot of the code is completely unreadable. Let alone the complete lack of coherent code styling, mixing conventions of C#, C++, C, Python, and I'm sure others as well. Even within the same functions and method code styling is all over the place.
If this is written by a human, what is even going on? What's the logic behind it?
I think it's pretty clearly written by AI. And I feel like this is where the problem lies with AI and Open source games: AI can produce (superficially) functional results, nobody is questioning that. But the big reason I, and I imagine a lot of other people, are here is to learn how things can be smartly implemented. The result in a way, is secondary. The devlogs for Factorio are infinitely more interesting than a random incoherent implementation that mostly outputs what the prompter wanted, yet has no educational value.
Though I will say, the write-up on the game of life and such is pretty neat, but also something most game developers are probably already familiar with. Still, it's a nice write-up!
One of the reasons, aside the morality of it all, I refuse to use AI is that it'll introduce code that is basically too incoherent for humans to understand without investing a bunch of time into understanding it. And I believe that is at least partially by design. Because, if the code it outputs is not that understandable by even veteran senior engineers then you also have to depend on AI to "fix" it, which comes in handy if you're the people selling AI, doesn't it?
Anyway, not to shit on the project too much, it looks like a fun experiment! But I just wanted to share something that has become, in my eyes, a problem in the open source community in general.
All the best!