My game works! But doesn’t.
Nowhere done yet, but the game loop that Once Initialises game UI and sends initial prompt to remote ChatGPT 3.5 that explains its job controlling the NPCs Enables controls for player to do an action Processes player action Creates prompt describing the situation, the last player move, the reaction of the game to last GPT move suggestion Communicates with remote ChatGPT to get an action Process NPC action Works! 95% of the code is written by ChatGPT 4, and in working with it I got halfway den cent JS skills. Wouldn’t say I’m good but I understand many concepts now that I didn’t get before, particularly the “spontaneously return complex structures in a function/method”, the asynchronous stuff (basic) and the functional stuff (basic). But GPT 3.5 IS JUST SO DAMN STUPID. I was hoping for a mode in which it replies with wrong answers, and the game updates it with “that was wrong” and the next time it gets it right. Far from it. Will spend happy hours tuning my prompt. Probably w...