Announcing the "Text Adventure Literacy Jam" - starts Feb 25th

The only exception is the word “the”. So if the sentence includes " the " then three words are allowed, e.g.:
GET THE KEY

I had to allow this, otherwise commands like GET IT would not work, as ADRIFT internally changes “it” to “the object”.

2 Likes

OK, I started judging. There are enough games for an interesting competition but not enough to be overwhelming. I knocked off three in an hour, so I’m optimistic I can complete in the next 24 or so days :slight_smile:

6 Likes

There’s an old trick of getting the two words from both ends of the sentence.

GET the old KEY
DROP rusty BUCKET
LOOK at the incredible shrinking MACHINE

I say that if you want 3 word structure, you can get away with using the word just before positional words.

THROW the golden COIN up into the AIR
PUT the teddy BEAR in front of the PILLOW
PUSH the SWITCH up
DROP the valentine CHOCOLATE on top of the COVER
GET the COIN from inside the PURSE
HIDE the MAGAZINE under the BED

Those constructs may not be as good as a true parser, but it should cover most reasonable instances. It is up to you whether you want to list all unknown words, or just silently accept them.

There’s a problem with

LOOK at the MACHINE

And you can possibly check whether NOUN1 exists, and if not, then you can shift NOUN2 into NOUN1. Or you can just tell the user to use X for EXAMINE. :slight_smile:

1 Like