Step 4 of 6

Deepen

Rooms are only half a story. Your labyrinth needs inhabitants.

Add a characters concern

In step 2, you defined a rooms concern with a template. Now do the same for characters. Open .txtscape/config.json and add a second concern:

.txtscape/config.json

{
  "concerns": [
    {
      "folderName": "rooms",
      "label": "Rooms",
      "description": "Locations in the labyrinth with descriptions, exits, and items.",
      "template": "# {name}\n\n## Description\n\n## Exits\n\n## Notable Features"
    },
    {
      "folderName": "characters",
      "label": "Characters",
      "description": "Beings in the labyrinth with descriptions, locations, and dialogue.",
      "template": "# {name}\n\n## Description\n\n## Location\n\n## Dialogue"
    }
  ]
}

Create the Minotaur

Tell your agent
"Create a character called The Minotaur. He's in the Minotaur's Lair. He's ancient, tragic, and angry. He guards the golden hoard and speaks in riddles."

The agent creates characters/minotaur.txt following your characters template — ## Description, ## Location, ## Dialogue.

Create Ariadne

Tell your agent
"Create a character called Ariadne. She's in Ariadne's Chamber. She offers the player a ball of thread and warns them about the Minotaur."

Your project now has two kinds of knowledge, each in its own folder:

📄 characters/ariadne.txt  —  # Ariadne
📄 characters/minotaur.txt  —  # The Minotaur
📄 rooms/ariadnes-chamber.txt  —  # Ariadne's Chamber
📄 rooms/entrance-hall.txt  —  # The Entrance Hall
📄 rooms/minotaurs-lair.txt  —  # The Minotaur's Lair
📄 rooms/twisting-corridors.txt  —  # Twisting Corridors
📄 rooms/underground-pool.txt  —  # Underground Pool

Notice what you did: you followed the same pattern from step 2 — define a concern, give it a template, ask the agent to create content. The agent shaped its output to match, both times.

Seven files. Zero clutter. All seven pages live inside .txtscape/pages/. Your project root still has just index.html and package.json — no sprawling markdown files, no AI_CONTEXT.md polluting your tree.
💡
The training wheels are off. You added this concern yourself. Nobody told you the exact JSON or the template fields — you adapted the pattern. That's how txtscape works in real projects: you design the shape, then keep using it.

Commit your progress

git add .txtscape
git commit -m "add characters concern with Minotaur and Ariadne"