Bee Chambers

Example 125

A maze with directions between rooms randomized at the start of play.

Mazes are a traditional element of interactive fiction, often consisting of apparently identical rooms with exits that do not work reciprocally and which cause confusion.

The methods of mapping mazes are now fairly well understood and mazes themselves tend to be regarded as tiresome rather than enjoyable by a large portion of the playing audience. However, if we did want to ignore the common wisdom and create a maze, randomly generated at the start of play, here would be one way to go about it:

"Maze of Gloom"
A Bee Chamber is a kind of room. The printed name of a Bee Chamber is usually "Hexagonal Room". The description of a Bee Chamber is usually "Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners."
Bee1, Bee2, Bee3, Bee4, Bee5, Bee6, Bee7, Bee8, Bee9, and Bee10 are Bee Chambers.
When play begins:
   now right hand status line is "[number of visited rooms]/[number of rooms]";
   repeat with place running through Bee Chambers:
      now a random Bee Chamber is mapped north of place;
      now a random Bee Chamber is mapped northwest of place;
      now a random Bee Chamber is mapped west of place;
      now a random Bee Chamber is mapped southwest of place;
      now a random Bee Chamber is mapped south of place;
      now a random Bee Chamber is mapped southeast of place;
      now a random Bee Chamber is mapped east of place;
      now a random Bee Chamber is mapped northeast of place;
      now a random Bee Chamber is mapped above place;
      now a random Bee Chamber is mapped below place;
      now a random Bee Chamber is mapped inside place;
      now a random Bee Chamber is mapped outside place.
Test me with "in / out / up / down / n / ne / nw / e / w / sw / se / s".
Test me with "in / out / up / down / n / ne / nw / e / w / sw / se / s".
Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.

>(Testing.)

>[1] in

Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.

>[2] out

Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.

>[3] up

Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.

>[4] down

Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.

>[5] n

Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.

>[6] ne

Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.

>[7] nw

Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.

>[8] e

Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.

>[9] w

Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.

>[10] sw

Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.

>[11] se

Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.

>[12] s

Hexagonal Room
Waxy, translucent walls surround you on six sides; the floor and ceiling are made of the same material, gently uneven. There are exits in every direction, cut into the faces or the corners.