a dimly lit room
you are in a windowless room. the walls, floor, and ceiling appear to be stone. a small skylight overhead provides a small measure of light.
you are in a windowless room. the walls, floor, and ceiling appear to be stone. a small skylight overhead provides a small measure of light.
this implementation of the text adventure uses a <div>
to display the text. another version uses alert boxes.
interestingly, this version can be used as an html code tester. just enter some code and it will process it! keep in mind that any styles set here still apply to it. if you want to be able to enter more than a short line of text, i also have a better html tester.
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)
- font - change the font (for example, type
font arial
to change the font to arial) - text - change the text color (for example, type
text purple
to change the text color to purple) (hex colors are recognized) - background - change the background color (for example, type
background white
to change the background color to white) (hex colors are recognized) - reset - resets the font, text color and background color
if you say something the program doesn't recognize, it just insults/encourages you at random.
known bugs in this version:
- domain redirect to fix cookie problem can be slow in internet explorer. if you experience problems interacting with the game immediately after the page loads, wait a few seconds before typing anything.
- display box does not auto-scroll.
- workaround: only display four entry/response pairs at a time.
- in opera, the display area height changes to fit the text.
- in opera, the command line font cannot be changed.
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: