I know AI is a touchy subject for a lot of people and I may get downvoted for this post, but I've been using it extensively to help code my game I'm planning to make in Twine, which is designed to be an interactive open world RPG.
I wanted to push the project out as fast as possible because I have a history of procrastination and being extremely slow with development.
I've mainly been using ChatGPT to generate content, base systems I later expanded on, and come up with ideas for the game, but somewhere along the line I realized I could create websites to test out my features on to assure they work out of the box.
For the people that use AI and are interested in using AI, if you tell ChatGPT to generate X feature for your Twine/Sugarcube game, at least in my experience, it will fail miserably. But I find that if you tell ChatGPT to generate a website with the feature you want to add to your game, and it will generate working and instantly testable code right off the bat (Edit: In the HTML, NOT Sugarcube). And you can see your results and how it works instantly.
Note: This is really only for code planning and testing before implementation into SugarCube.
Here's a link to a Time of Day system it generated for me: https://chatgpt.com/share/674f3900-ae5c-800a-972d-c8e8ce4e3edd
Edit: It is best if you ignore this post if you're new to coding or AI. This post is only for people who know what they're doing and want another way to potentially speed up their workflow. It also will not work for more complex tasks and systems. I find it best for small systems you as a coder do not want to waste too much time on.
For the people who are saying this method is useless/doesn't work at all, here are the examples with both the HTML and Sugarcube version of that HTML. This method 100% works for planning out simple systems.
Time of Day HTML: https://theprincejays.itch.io/time-of-day-website
Time of Day SugarCube: https://theprincejays.itch.io/time-of-day-system