Posted By
AaronGale on 2023-04-04 19:02:28
| Re: Program an adventure game with AI (Chat GPT)
Once I asked it to generate the code it starts generating the code within a second. Not sure if anyone else has interacted with ChatGPT but it types the code out before you eyes, rather than just having a delay and producing it on screen instantly. Pretty cool to watch.
I did copy the code into Yape but there are many mistakes, so I gave up. It's been 30+ years since I played with Commodore Basic!
Changes I made to get it to run slightly further:
I think it missed asking for input! 165 GOSUB 190
It seemed to miss a location so I just copied a line to get it past the error. 595 DATA "", "TREASURE ROOM", 10, 0, 0, "TREASURE"
Had to rename variables LOC and NEWLOC to 1 character.
At this point it was saying "YOU ARE NOW IN" but wasn't printing the current location info, it was asking for input but wasn't doing anything other than going in a loop.
|