Introduction to GoNorth

How adventure games work and how GoNorth helps you build them.

What is a Text Adventure?

A text adventure is a game told entirely in words. The game describes where you are and what you can see. You type what you want to do. The game responds. Classic examples include Zork, Adventure, and the Hitchhiker's Guide to the Galaxy.

GoNorth adventures add modern features: natural language understanding (so "walk towards the old well" works, not just "go south"), sounds and music, images, and voice — so the game can be played eyes-free.

The Adventure World

Locations

The world is made of locations — rooms, open spaces, corridors, vehicles, anything the player can be in. Each location has:

Note: Rooms describe themselves automatically through the adventure's Global On Location Enter script (long description on the first visit, short afterwards, plus items, NPCs and exits). As soon as a location has its own OnEnter script — or you replace the global one — that automatic description is switched off and you control what is said using OutputText(). This gives you full creative control when you want it.

Links and Directions

Locations connect to each other via links. A link has:

Items

Items are objects in the game world. They can be:

Furniture

Furniture items are named scenery elements attached directly to a location. Unlike inventory items, furniture cannot be picked up — it exists purely to enrich the environment and respond to EXAMINE. Each furniture entry has a name, an optional list of aliases, and a description shown when the player examines it.

Use furniture for anything that is part of the scenery rather than the puzzle space: a fireplace, a window, an ancient inscription, a bookshelf, a painting. If your descriptions mention it, give it a furniture entry so players can examine it.

For interactive scenery that needs scripts, events, or inventory logic, use a non-pickable Item instead.

NPCs

Non-player characters can:

Scripts

Scripts are small programs attached to locations, items, NPCs and the game itself. They run automatically when something happens:

EventWhen it runsAvailable on
OnEnterPlayer enters the locationLocation
OnExitPlayer leaves the locationLocation
OnTurnEvery turnLocation, NPC, Global
OnPickUpPlayer picks up the item — your script decides: call DefaultPickUp() to allow it, or leave it out to refuseItem
OnDropPlayer drops the item — call DefaultDrop() to allow itItem
OnUsePlayer uses the itemItem
OnExaminePlayer examines the item or locationItem, Location
OnTalkPlayer talks to the NPCNPC
OnGameStartOnce, when the game beginsGlobal
OnGameEndWhen the game endsGlobal

Example — a locked door that opens with a key:

# OnUse script on the "key" item
if Location.Variable(DoorLocked) = true then
    Location.Variable(DoorLocked) = false
    Location.ExitEnabled("North", true)
    OutputText("The lock clicks and the door swings open.")
    Sounds.Play("door_unlock.wav", 80)
else
    OutputText("The door is already open.")
endif

How Player Input Works

When a player types something, GoNorth tries to understand it in order:

  1. Command matching — checks the built-in and adventure-specific commands
  2. AI interpretation — if no command matched, an AI model tries to interpret the intent
  3. "I don't understand" — if the AI also can't help

The built-in commands cover all standard verbs — take, drop, go, examine, talk to, use, open, close, push, pull, eat, drink, and more. You can add your own commands for your adventure using Tools → Commands.

Adventure File Structure

When you save an adventure, GoNorth creates a .gnp package file. This is a standard ZIP file containing everything the player needs:

MyAdventure.gnp
  ├── adventure.gna     ← the adventure definition (JSON)
  ├── meta.json         ← title, author, format version
  └── media/
      ├── intro_music.mp3
      ├── forest.jpg
      └── door_lock.wav

Share the .gnp file and players can open it in the GoNorth player app.

Ready to start? Follow the Quick Start to build a simple adventure with a puzzle in about 15 minutes. Planning something bigger? Read Designing Adventures first.