3 ms·
Maybe a good example would be most recently when I was creating a serializable state machine library (I know they exist and are good enough, it was an exercise)
by steve_adams_86 3y ago
Maybe a good example would be most recently when I was creating a serializable state machine library (I know they exist and are good enough, it was an exercise).
I created the serialized state as JSON and planned to work backward from there. This would allow me to describe the capabilities of the machines and how their features would work in practice. I was able to feed that serialized machine into GPT and ask how to implement various features, and it was remarkably effective.
Most of it was trivial to implement, but there was the odd bit where GPT saw various connections between features which I was missing. It also made some mistakes of course, but generally did a good job of keeping the ball rolling.
I could have done this alone without a doubt. It was so smooth and easy with GPT though that I finished fairly quickly and really enjoyed it. I generally got what I wanted out of the project without going down rabbit holes or dumping more time than I could afford.
Otherwise it helped me figure out how to arbitrarily generate a jigsaw puzzle based on an image and a few parameters in three.js. That was a bit out of my comfort zone but all of its suggestions and solutions were sufficient to keep me moving and solving the problems. I’m not sure I would have finished otherwise. My goal is to make a multiplayer puzzle game with the intent of demonstrating how to manage moves, interactions, and play states over multiple clients and servers. That part is east for me, but creating a usable demo in three was not. Yet relatively attainable in a reasonable timeframe with GPT.
It could be that I learn slowly. I’m over a decade into my career and still find myself poring over documentation of things I suspect I should know by now. Like the math for creating a jigsaw puzzle. It’s basic stuff but I totally drew blanks at first. If that’s the case, perhaps it’s why GPT is so useful to me. It breaks down the odd barrier that might otherwise become a rabbit hole or a major time sink.