Learn › GBC Intermediate

Lesson 1 of 6 · About 6 min

Rooms and gates

How Brook Village is built from a 10 by 9 grid of letters, how the key and the gate join one room to the next, and how to add a second room.

A room is a grid of letters

Brook Village is a sword adventure: walk the village, defeat the slimes, take the key they leave and open the gate. Its screen is one room of 10 by 9 cells, each cell 16 by 16 pixels, and the top row sits under the HUD.

Each room is written as nine lines of ten letters. A dot is grass, a comma flowers, T a tree, a and b a roof, c a wall, d a door, w water, s a sand path, g tall grass and G the gate. Trees, houses, water and the shut gate are walls; everything else can be walked on.

GBC Intermediate is a course for paid accounts. The rest of this lesson, and its guided session, are in the app.

Start makingDownload on the App StoreGet it on Google Play