I asked GPT-4 to give me a prompt to use with it in order to set up a game of tic tac toe and it came up with a similar representation and played successfully.
I'm still blown away that this is possible.
I'm still blown away that this is possible.
Here is the new version: https://pastebin.com/BSUGtxfb
It seems to be performing better! It played 2 games without mistakes, and was able to evaluate diagonals correctly. I just hit my usage limit for GPT-4, I'll do more testing later.