The source of this difficulty seems to stem from putting "special" in my
grammar extensions. I can't seem to get the game to recognize them.
For instance, I've got a puzzle involving two pieces of dough, each of
which can be formed into one of two shapes. I've tried using the names of
each shape as a "special" in my grammar. I then check for the 2 shapes in
the "before" part of my class definition, like so:
if (second == 'shape1') { ...
if (second == 'shape2') { ...
For some reason, though, the special words aren't being moved into "second,"
so the game just returns true without doing anything, and drops through to
the default reply.
I'd be more specific, but I hate the thought of giving significant details
away on a newsgroup. If you're willing to help, reply to this and I'll send
you the complete code for this puzzle.
Thanks in advance.
-- C.E. Forman ceforma@rs6000.cmp.ilstu.edu Read the I-F e-zine XYZZYnews, at ftp.gmd.de:/if-archive/magazines/xyzzynews! * Interactive Fiction * Beavis and Butt-Head * The X-Files * MST3K * C/C++ *