4 ms·
Any time you can drive things with data there's a good opportunity. For instance, if you have a functional testing suite that can be run with, say, a series of
by ianbicking 3y ago
Any time you can drive things with data there's a good opportunity.
For instance, if you have a functional testing suite that can be run with, say, a series of commands in JSON... you can tell GPT what it can do and ask it to write out scripts in that format.
In general if you think you want a DSL you might be able to get away with JSON and GPT instead, using GPT prompts as your DSL and some simpler imperative system run off GPT-generated JSON. (GPT can translate the JSON back to English too, so it's not just one way)
If there's any story elements in your game you can generate them with GPT, again probably resulting in JSON. You shouldn't defer the entire plot to GPT, but it can fill out lots of details and make the environment richer.
If you have autonomous entities in your game (as simple as any kind of enemy) you could both brainstorm behaviors and personalities and then turn that into code, making the enemies more eclectic.