2 Comments
User's avatar
Questioner's avatar

It says "Image not found" for me.

Or is that how it's supposed to be?

Great post and fascinating topic! You didn’t explain how to adapt AI-generated code to your template, which seems crucial. Is it safe to use it in the final product? Could it be less efficient than your own code? What prompts would you recommend to help AI structure the code for your template?

Expand full comment
Maurice Klimek's avatar

> You didn’t explain how to adapt AI-generated code to your template, which seems crucial.

Well, I learn it as I go, so I might cover that soon. At this point, I can only say that once the template is complete, I will pinpoint where I want the change to happen. It usually worked, at least outside of games.

> Is it safe to use it in the final product?

That depends on whether you're capable of testing it. If you are writing automated repeatable tests will make it safe. If you're not, because the AI code is basically about some rare events... well, this may become tricky. But every AI code is more or less deterministic. Unless you add a generative AI to the video game code... Well, that would be tricky to test :D

> Could it be less efficient than your own code?

Well... yes.

> What prompts would you recommend to help AI structure the code for your template?

I haven't got a prompt for it yet. But once I make code with AI, I usually refactor it manually. To learn it, to ask AI what it should explain, to leave comments if needed, and to add structure if the code lacks one. Best practices I learned in IT.

Expand full comment