Hacker News new | ask | show | jobs
by Tepix 1277 days ago
Related: Has anyone tried ChatGPT to generate Inform code? Could be interesting.
2 comments

Yes, it works well. The first time it misunderstood my query "write a very short story in Inform 7", but after clarifying ("I wanted a short story written as an Inform 7 program"), it wrote me the exact same story but in Inform 7.

Not sure if it's because I said "very short", but it basically locked me into a cabin without letting me go anywhere. It did describe a fair amount of objects inside the cabin though.

It would be a real boon for non-programmers if you could build a text adventure game just using text dialogue with a system like that, interactively describing all the locations, objects and interactions.

After that you could of course add AI-generated images, videos, music and voice (TTS).

It would be amazing yes. Debugging is the other skill you'd need.
I’m much more interested in how a language model could be leveraged by an interactive fiction language. Obviously there is a lot of potential, but integration of scripted rule based logic with a machine learned logic has always been difficult.