is an old computer game played on ASCII terminals. Mini-adventure will be a
similar but smaller game. A single player explores a maze of rooms and
corridors. The goal is to collect all the gold and return it to one location.
can be of various sizes, but are all rectangular: k by n units. Each room has a
label so the user can know when they return to the same room. A room can have
any number of doors. The doors in a room are labeled "A", "B", "C", etc.. Each
side of a door can have different labels. A door connects a room to another
room or corridor. If a door connects two rooms, the two rooms must be
physically adjacent. A corridor connects two rooms, which do not have to be
physically adjacent. For example, a corridor could connect BA 346 to the
library’s X-term lab. Corridor can be of different lengths, but are all
one unit wide. The length of a corridor does not have to follow Euclidean space
constraints. The corridor connecting BA 110 and BA 109 could be 10 units long,
while a corridor connecting BA 346 and the library’s X-term lab could be
5 units long. Each time the game is started it uses the same configuration of
rooms and corridors. However, the configuration should not be hard coded into
the source code.
Potions and Trolls
in the maze of rooms and corridors are pieces of gold, magic potions, and
trolls. In future versions of the game (done by a different team in a different
semester) other types of items will be added. Gold pieces, magic potions and
trolls are randomly distributed in the rooms and corridors at the start of the
game. A player can pick up pieces of gold and magic potions. A player can only
hold 10 different items. Each magic potion and each gold piece counts as one
item. Trolls are attracted to piles of gold. A pile of gold is two or more
pieces of gold in one location. If you leave a pile of gold unprotected, trolls
will be drawn to the pile. Protect a pile of gold by leaving a magic potion
with the gold. An unprotected pile of gold will attract trolls in any room or
corridor adjacent to the room or corridor containing the pile of gold. A room
is adjacent to a corridor if the room is connected to the corridor. A room is
adjacent to another room if the two rooms are connected directly or connected
by a corridor. If a troll touches an unprotected pile of gold, it disappears.
Once the player leaves the room/corridor containing an unprotected pile of
gold, any troll in an adjacent room/corridor will move to the pile of gold and
touch it. Future versions of the game will add more functionality to trolls
(attacking players and moving).
in a room or a corridor, a player can use the command "view" to get a
description of the room and it contents. A sample interaction is:
You are in room "Spooky". The room contains two pieces of gold, one troll, and
two doors, A and B.
player can move to an item with the moveTo command.
moveTo command can take a modifier. The modifier can be either the name of the
item or the words "near" or "far". Examples are:
moveTo near gold
moveTo B door
a modifier is not given and more than one option is possible, the modifier near
is assumed. When you are at a door, the command "exit" brings the player though
the door into the next room/corridor. The player can not pass a troll in a
corridor, as corridors are too narrow.
command pickUp x will pick up item x if the player is next to item x. The
command drop x will drop on of item x if the player is holding at lease one of
following will be added in future versions of the game:
type of rooms
types of magic potions
will attach a player
creatures will be added
game does not display a map of the game layout. The game is purely an ASCII
game. The player types in legal commands, and the game responses.