News for hackers. Stuff that matters.
Re:MiniZork: A Functional Adventure by dunham on Friday February 05, 2021 @10:34PM (#26043887)
This reminds me that back in the 80's, David Betz wrote an object-oriented lisp dialect called advsys for authoring text adventures.

I recently rediscovered in on github at https://github.com/dbetz/advsys

Re:MiniZork: A Functional Adventure by nils-m-holm on Saturday February 06, 2021 @03:29AM (#26045156)
Some time ago I wrote something similar in Scheme. It outputs the game as a large set of HTML pages.

Code: http://t3x.org/s9fes/advgen.scm.html

Sample adventure: http://t3x.org/s9game/index.html

Code of the sample adventure: http://t3x.org/s9fes/adventure.adv.html

Re:MiniZork: A Functional Adventure by bburns_km on Saturday February 06, 2021 @02:13AM (#26044770)
Thanks for linking that - it's a nice system with clean syntax -

  (location livingroom  
    (property  
      description "This appears to be the livingroom.  There is a hallway to  
                   the north and a closet to the west."   
      short-description "You are in the livingroom."   
      north hallway  
      west closet  
      south front-door-1))
https://github.com/dbetz/advsys/blob/master/osample.adv

compared with something like MDL -

  <DEFINE EAST-HOUSE ()  
      <COND (<VERB? "LOOK">  
      <TELL   
  "You are behind the white house.  In one corner of the house there  
  is a small window which is " ,LONG-TELL1 <COND (<TRNN 
  <SFIND-OBJ "WINDO"> ,OPENBIT>  
              "open.")  
            ("slightly ajar.")>>)>>
https://github.com/historicalsource/zork-mdl/blob/master/act...
Re:MiniZork: A Functional Adventure by zelphirkalt on Saturday February 06, 2021 @07:52AM (#26046192)
I've made something that this reminded me of recently (wip) in GNU Guile: https://notabug.org/ZelphirKaltstahl/fantasy-vacation-planne...

It does not use such a witty approach though. It uses JSON configuration files and I still need to make actions and events mutually arbitrarily nestable in the configuration files, to allow arbitrarily complex plots.

The core is there and people could write their own configuration files to give it an individual spin. All that is needed is sufficient creativity.

Re:MiniZork: A Functional Adventure by selimthegrim on Friday February 05, 2021 @09:01PM (#26043463)
And here I was looking for the MiniZinc/Zork crossover hit...
Re:MiniZork: A Functional Adventure by 082349872349872 on Saturday February 06, 2021 @08:56AM (#26046494)
You are in a maze of twisty constraints all soluble.
Re:MiniZork: A Functional Adventure by selimthegrim on Saturday February 06, 2021 @01:58PM (#26048891)
Now I need an appropriate Expanse quote as a chaser.
Re:MiniZork: A Functional Adventure by 082349872349872 on Sunday February 07, 2021 @06:05AM (#26054159)
*Wesh fong imbobo.

To bi imbobo bik fut *wesh fong imbobo belang wit bap deting finyish sera fo welte.

Desh kaxa mali fo mesach xiya.

> vedi ere kaxa

Da kaxa im finyish sera.

> openg kaxa

To openg da kaxa unte vedi wa mesach mali.

Re:MiniZork: A Functional Adventure by area51org on Saturday February 06, 2021 @02:16AM (#26044788)
The Scott Adams adventure games were variations on the Colossal Cave adventure game, not really Zork. Crowther & Woods, man.