Re: Scheme/Prolog IF source?


4 Dec 1995 14:23:36 GMT

Thanks to everyone who responded to my query...
I did find one piece of scheme code at the scheme
repository, written apparently (according to the
comments, not the code style:) by a ten year old.
I cleaned it up a little, but for the most part
it was intended as a quick exercise, not a full-fledged
game... perhaps this was an exercise for a class, as
people have been saying this is a typical exersice.

Magnus Olsson (mol@marvin.df.lth.se) wrote:
: Personally, I'd like to have a language like Lisp or Prolog for *one*
: subproblem: that of coding routines to handle "Ask the troll about the
: wizard" or "Troll, tell me all you know about wizard". For most other
: tasks, the Smalltalk-like structure of TADS seems better suited.

Hmm.. now that is an interesting idea. THere is no
reason to use one language exclusively. You could imagine
adding some sort of run-time prolog-like (e.g.) interpreter, that
would interpret a prolog file for your NPC. (Adding to Inform or
Tads for example). Seems that would make NPC's a little easier ?
I dunno..

--
            |    |    |                 
           )_)  )_)  )_)         Captain:Ron Legere     
         ___|____|____|___       email: legere@Minerva.cis.yale.edu
---------\               /---------