Daniel said:
Are you sure I'm ruling that out?
If their is an equal probability of the user meaning either the red
box or the blue box, then I could easily present that question. If
the user then replies with "The first one", or "Red", or
"Either" (etc...), then the contextual information will give the
interpreter enough information to figure out what the user really
meant.
But now, you see, you've entangled the world model with the parser
again. It really can't be avoided.
I think I handled that by:
if (a.inReachOfPlayer());
That is only to say that you can solve the problem by solving it. How do
you define inReachOfPlayer() when there may be arbitrary container
objects surrounding a and/or the player? (And remember, by the way, that
a modern system has to allow for player-ness to move from one character
to another.)
and in the "add(Relationship relationship, Thing thing)" method, I
check to see if thing's relationship tree includes this already.
Nope. An object cannot contain another object that contains it, but an
NPC can be friendly with another NPC that is friendly with it. And, on
the other hand, you've forgotten the cabinet with a shelf on top.
What is mimetic failure? I've never heard that term.
From the American Heritage Dictionary:
mimesis, noun: The imitation or representation of aspects of the
sensible world, especially human actions, in literature and art.
Anyway, why are you so convinced that I haven't got the engineering
capability to come up with solutions for these problems?
I'm not. I'm just warning you that you're tackling an intrinsically hard
problem that experts have been working on for decades, and that if you
don't familiarize yourself with the state of the art, you're going to
lay a big, fat egg.
It feels like your
assuming I couldn't have thought about things before you point them
out to me.
I am assuming only that you are not prodigiously more gifted than anyone
else who has ever tried this -- and that group includes the founders of
Infocom, who were graduates of the MIT Artificial Intelligence
Laboratory, and Graham Nelson, the leading contemporary theorist and the
creator of Inform and Inform 7, who lectures on mathematics at Oxford
University and is also a published poet.
I cannot recommend too strongly that you acquaint yourself with
rec.arts.int-fiction and some modern IF development systems. Inform 7
(<URL:
http://www.inform-fiction.org>) is still in beta, but is probably
the most advanced.
--
John W. Kennedy
"When a man contemplates forcing his own convictions down another man's
throat, he is contemplating both an unchristian act and an act of
treason to the United States."
-- Joy Davidman, "Smoke on the Mountain"