The KAGAMI mark КАГАМИ
Children's Librarypublished by: East Accelerator Foundationhost: kagami.bgfree for everyone
kagami.bg/deca · children's library · lesson · machine-readable viewVERIFIED 2026-10-02 · AI-assisted: yes · reviewer: awaiting teacher and psychologist
IDENTITY
id
DB-IG-07 · Worlds Made of Words and Maps (BG: Светове от думи и карти)
track
IG · The Story of Games · lesson 7
level
Master (use · combine · change · explain) · grades 5–6 · ages 11–12
duration
12–15 min on screen + 10 min without a screen
school link
not stated in the library catalogue (none shown publicly)
publisher
East Accelerator Foundation (Фондация „Източен Акселератор“) · host: kagami.bg
access
free · no account · no data collected · works offline
trust
VERIFIED 2026-10-02 · AI-assisted: yes · reviewer: awaiting teacher and psychologist
versions
bg: /deca/DB-IG-07_svetove-ot-dumi.html · en: /en/deca/DB-IG-07_svetove-ot-dumi.html · parent guide: /en/deca/pomagalo/DB-IG-07_svetove-ot-dumi.html
LEARNING OBJECTIVES
KEY CONCEPTS
STRUCTURE
ANSWERS
SAFETY
NEXT

DB-IG-08 · Puzzles: Order, Pattern, Satisfaction · /en/deca/DB-IG-08_padashti-pazeli.html · previous: DB-IG-06 · The Jump: Platform Physics · /en/deca/DB-IG-06_skokat.html

SOURCES · LICENCE
IMPACT METADATA
path
2 · Learning
determinant
economic and social (education)
sdg_target
4.4
who_criterion
effectiveness
impact_type
knowledge and education
TAGS
kidsgrades-5-6game-historytext-adventureparserprocedural-generationrandom-mapreachabilityunpluggedbgen
VERIFIED · 02.10.2026 AI help: yes reviewer: awaiting teacher and psychologist

Worlds Made of Words and Maps

Some games have no pictures. Their world is told in words or drawn by rules. Today you try both — and see how a computer makes a new map every time.

⏱ 12–15 min Master The Story of Games · 7 grades 5–6
You will be able to explain how a word game understands your commands, how a world is stored as places and doors, and why a map made by a rule is better than a purely random one.

For parents: a one-page guide — dinner questions and the paper game “Computer-Narrator”.

01Remember

Think about each question, then open the answer.

What is a command?

A word or step you use to tell the computer what to do. For example “forward” or “save”.

What does the “if… then…” block do?

It does something only when the condition is true. If it is not true, it does nothing.

What is a variable?

A box with a name that holds a number or a word. You can change what is in it, while the program stays the same.

02Story

A world of words

Remember the cave from the lesson “My Game for Someone”? You play it with words only. It inspired four people at MIT in America: Tim Anderson, Marc Blank, Bruce Daniels and Dave Lebling. In 1977 they decided to make an even better game.

In the cave, commands were two words long. They wanted the computer to understand longer sentences too. So they wrote a parser — a program that reads what you typed and splits it into words. According to Anderson, Marc Blank rewrote the parser again and again — “40 or 50” times.

The game had no name. In its file they called it “Zork” — a nonsense word that people in the lab used for unfinished programs. The name stuck. In 1979 part of the team founded a company, Infocom, and in December 1980 “Zork” came out for home computers too.

A world of rules

Around 1980 two students in California — Michael Toy and Glenn Wichman — also loved word adventures. But they had a problem: once you solve the game, it is the same the next time. So they made a game, “Rogue”, where the dungeon is built again every time you play.

First they tried to do it purely by chance. It did not work: sometimes the stairs to the next level ended up in a room you could not reach! So they added a rule: the level is a grid of 3 rows and 3 columns, the rooms sit in the cells, and then corridors join them. On the screen the map was made of characters, and you were the character “@” — the authors chose it to show “where you’re at”.

“Rogue” was not the first game with a random dungeon, but it gave its name to a whole kind of games — roguelike. Its year is given as “around 1980”: sources are not exact about when the first version was ready.

Two worlds: one is written in words, the other is made by rules. Today you make both.

03Worked example

Every world is a list of places and doors. Here is our little adventure — just three places out of four:

PlaceExitsItems
Hallnorth → Kitchen · east → Garden—
Kitchensouth → Hallkey
Gardenwest → Hall—

You are in the Hall and type: “go to the north”. Here is what the program does:

  1. Reads (parse)

    It splits the sentence into words: “go”, “to”, “the”, “north”. The words “to” and “the” are just filler — the program skips them. “Go” is a verb, “north” is a direction.

  2. Looks it up (look up)

    It finds the row for the Hall. Is there an exit “north”? Yes — to the Kitchen.

  3. Updates (update)

    Now you are in the Kitchen. If there had been no exit, you would hear “There is no way that direction.”

  4. Says (say)

    It writes the description of the new place. The program does not “understand” the adventure. It only compares your words with a list.

A map that makes itself follows four rules:

  1. Put one room in each of the 9 cells.

  2. Start from one room and join every new room to one that is already joined.

  3. Add some more corridors by chance — so there is a choice.

  4. Check: from the start, can you reach every room?

Notice: change the list (the data) and the world is different, while the program stays the same. Both worlds work that way.

04Try it

Everything here is ours — only shapes and words, nothing from other games. The page saves nothing and sends nothing.

1 · Predict

We have 9 rooms in a 3×3 grid. For every pair of neighbouring rooms we flip a coin: with a 50% chance there is a corridor. How often will you be able to reach all 9 rooms from the start?

2 · Run: a small word adventure

Find the book. Type commands (like “go north” or “take key”) or press the buttons. Use the words from the help. There is no hurry.

Also try something the game does not know — for example “fly”. What does it answer?

3 · Change the world — without touching the program

This is the same world as data: the map and the table change while you play. The glowing dot is the place where you are. Press the button and dig a new door.

The new door appeared in the table, while the program for “go” did not change. Try it: take the key and go straight from the Kitchen to the east.

4 · Run and change: a map that makes itself

This map is built again every time you press a button. starttreasurecannot be reached

How:
How many corridors:

“By a rule” means: join every new room to one that is already joined, and then add more corridors by chance. Compare the two ways with “100 maps”. Which is more reliable?

05No screen: “Computer-Narrator”

You need: 5 sheets or cards, a pen, an object to be the “key” (for example a button) and a family member who wants to play. You are the computer, and they are the player.

  1. Draw and label 5 “places” on cards (for example Room, Corridor, Yard, Cellar, Attic). On each write one sentence and where the exits are (north, south, east, west). Lay them on the floor like a map. Hide the object in one of the places.

  2. The player cannot see the map. They say commands, and you answer only with allowed answers: the description of the place, “There is no way that direction.” or “I do not understand.” You accept only a few words: go, take, look and the directions.

  3. Do not help or hint. If the player says something outside the list, answer calmly: “I do not understand. Try another word.” This is how a parser works.

  4. Play until they find the object. Then change only the data: move the object and add one door between two cards. Play again with the same rules.

💛
If someone gets bored
Swap roles or shrink the map to 3 places. The aim is for both of you to enjoy it.

06Make your own

Make a small world of 5 places on paper — for example your school or a park.

07What I learned

The game says “I do not understand” when it does not know a word. And you — how do you tell people that something is not clear to you?

Check yourself

1. What does the parser do in a word game?

2. Why is the rule “join every new room to one that is already joined” better than purely random corridors?

3. The game says “I do not understand”. What does it mean?

Skill badge: “I make worlds”
It is yours when you can show someone how a game understands a word and how its world is stored as places and doors — and explain why a map made by a rule is more reliable. No points and no rankings — just a skill.

08I have a question

Do you still have a question? Write it here. It goes to your parent, not to strangers. Your parent confirms their e-mail first.

The form is loading… If it does not appear, write your question on paper and show it to a parent or teacher.

·Sources