this implementation of the text adventure uses alert boxes to display the text. another version uses a <div>
.
list of commands:
- n, s, e, w - move
- look / l - give a description of your surroundings
- examine / ex - inspect an item closely (for example, type
examine car
to examine a nearby automobile) - get / take - pick up an item (for example, type
take cheese
to pick up a piece of cheese) - drop - put down an item
- search - search the area for items
- inventory / i - display your inventory
- wait - do nothing
- score - display your current score
- help - displays a list of commands you can enter
- save - save your game
- load - load your saved game
- restart - restart the game (does not prompt)
if you say something the program doesn't recognize, it just insults/encourages you at random.
known bugs in this version:
- the prompt text is limited to two lines in internet explorer and to one line in opera.
- entering commands too fast may cause the game to stop.
notes:
- saved games are stored as cookies on the user's computer.
- saved games are shared among versions of the game.
real text adventure games: