Syntax guessing

Part of a series on:
Adventure games

Syntax guessing, also known as guess-the-verb, guess-the-noun and the syntax quest, is a problem sometimes encountered in text-based video games, such as interactive fiction games and MUDs. For various reasons, the command syntax necessary to carry out an action may be obscure, such as with a button where the player must type POKE BUTTON, while PUSH BUTTON does not work (a "guess-the-verb" problem),[1] an item described as a pillow that can only be obtained by typing GET CUSHION rather than GET PILLOW (a "guess-the-noun" problem),[1] or a situation where the command TURN THE DIAL works but TURN DIAL does not (a generalized syntax guessing problem). If syntax guessing is necessary at a critical step, the game may appear unwinnable, with the player stuck until the right phrasing is guessed or is supplied by a walkthrough. A quest that requires syntax guessing to complete is a "syntax quest", especially if it consists of little to no content other than syntax guessing.[2]

People whose native language is not English are particularly affected by syntax guessing. TADS games supply a fair list of verbs commonly used in their documentation; if the game designer uses new actions not covered in this list, and which cannot easily be inferred by the purpose and context of the object, the player will probably encounter this problem.[3]

A similar problem can occur when attempting to accomplish a game goal using a certain combination of actions, locations and objects, which may appear rational and legitimate to the player, and are accepted by the game, only to be incorrectly handled and resulting in a gameplay error or game crash.

Examples

An infamous example of syntax guessing was the ending of Leisure Suit Larry 2, where Larry had to put a bag into a bottle to make an improvised bomb. The parser had no problem with minimal phrases and understood LOOK WOMAN equally well as the proper LOOK AT THE WOMAN (and players would usually type simple phrases for speed and easiness). In the ending, however, simple phrases like PUT BAG IN BOTTLE, the first ideas of many players, failed because the parser interpreted BAG as a verb. The only way the parser understood the phrase was by putting THE before BAG, or by referencing an alias such as AIRSICK BAG. Frustrated players tried other verbs, synonyms and conjunctions like INTO, INSIDE, etc. without knowing that only THE was needed.

Another example is in Infocom's Enchanter, where in order to reach into a hole, a player has to type REACH INTO HOLE, while more common and expected phrases such as LOOK IN HOLE or FEEL INSIDE HOLE do not even recognize that there is a hole in the room. Scott Adams' first adventure, the 1978 title Adventureland, required the player to enter the unintuitive UNLIGHT LAMP in order to prevent a lamp from using up its fuel, and would not recognise the verb EXTINGUISH.

The Atari 8-bit text adventure game Cloak Of Death boasted of understanding "32 verbs" in the cassette sleeve. However, the uncommon verbs KICK, MAKE and EXORCISE are each required to complete the game. Each is valid only in a single place and there was no clue in the cassette or game text that these actions were possible.

This was parodied in the adventure game Peasant's Quest, from Homestarrunner.com, where the player is forced to use the unlikely phrase DEPLOY BABY in order to complete a puzzle.[4]

References

  1. ^ a b Ashman, Alex (2007-05-10). "How to Make a Text-Based Adventure: Commands and Parser". h2g2. BBC. http://www.bbc.co.uk/dna/h2g2/A20600641. Retrieved 2011-07-03. 
  2. ^ Hastings, Dan. "Natural Command Handling". Imaginary Realities. Archived from the original on 2001-02-05. http://web.archive.org/web/200102050606/http://imaginaryrealities.imaginary.com/volume1/issue2/natural.html. "All possible commands can be made known to the players, eliminating the frustrating 'syntax quest' to guess the command that does what you want in this particular room." 
  3. ^ Roberts, Michael J. (2002-01-05). "Chapter Ten: Advanced TADS Techniques". TADS 2 Author’s Manual. tads.org. http://www.tads.org/t2doc/doc/tads-10.html. Retrieved 2011-07-03. 
  4. ^ Shannon, Mara (2010-01-14). "How To Beat Peasant's Quest". eHow. Demand Media.