I talk a lot about Prolog but really what I want is just a language I can write an Infocom / SHRDLU style adventure game / text-based AI simulation in.

My problem is I have high expectations for a language because I want to do what seems to me to be very simple things:

* have the world obey rules, so all actions cause consequences

* rules that can be changed at runtime

* game AIs can read these rules and make plans

* save/ load the game state to/from disk

Turns out getting these is HARD.

@jankoekepan Theoretically any Turing-complete language can do anything, but, ...

@jankoekepan Lambdas will not save you, unfortunately.

Can you save your lambdas to disk?

The AI needs to be able to read the rules as *knowledge*, not run a function and have {unknown things happen} to the game state.

You need a format *for* the game state, because you're going to need a lot of it; the AIs may be imagining different game states as they plan.

All these things can be done, but they fall into designing a language, and possibly an emulator for that language, not just coding.


@jankoekepan I understand that most of these requirements are not present in most current games.

They're what I personally want, however.

Sign in to participate in the conversation

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!