You just have to clarify your specs well enough and no shitty code will come out.
Good trick is asking AI "do you have any questions about implementation?" and then don't let it start writing any code until it clearly and explicitly states that it has no more questions.
Not sure if you had tried it, but if not, you should.

unnameddimka
2
Posts
A member registered 86 days ago · View creator page →
Creator of
A cozy AI-driven fantasy RPG where characters remember, react, and live their own lives.
Role Playing
Recent community posts
Wow, you are actually using the same tech concept as i am in my Mallowstead game.
Glad that I found you.
Will definitely be playing.
And also looking into how it is made. You have some cool ideas there, I didn't come up to.
I invite you to look into my code too.
https://github.com/unnameddimka/ai-rpg-framework
