I used ChatGPT to write a pretty simple and self-contained class for my game, and honestly, I'm kinda impressed. I even asked it to drop in some error codes that gave me certain information, and it did it. Not bad.