Getting started

Install the Gozen binary. Besides it you need a text editor and a terminal, not Go, Git or a programming language; the window needs your platform’s graphics runtime.

1. The smallest game #

Create a playable RPG:

gozen new my-game --template rpg --title "My first game"
gozen check my-game
gozen run my-game

Enter or Z selects, the arrow keys move, and Escape or X goes back. Talk to the guide, visit the meadow and try a practice battle. Playtesting lists every key.

To start with a different kind of game:

gozen new my-story --template novel
gozen new my-campaign --template campaign

The novel has dialogue, a choice and an ending; the campaign has three regions, two factions, a marching order and turns. The templates’ pictures are placeholders to replace.

2. Play Go Zen #

Play the larger showcase games in your browser: RPG battles, novel scenes and strategy maps on the same engine, without cloning anything.

3. Start your own game #

Your generated directory contains:

File or directoryWhat to edit
game.yamlTitle, screen settings, starting location and other game settings
data/world.yamlDialogue, places, story choices or campaign regions
data/rules.yamlCharacters, classes and basic battle rules
assets/Your pictures and sounds
README.mdInstructions kept with your project

Change a line of dialogue in data/world.yaml, save, and check again:

gozen check my-game

YAML groups values by indentation, so keep the spaces at the start of a line. A failed check names the file, line and field to fix. The schema and cookbook describe the settings.

gozen run my-game --dev --save-dir test-saves

Press F5 after an edit to reload. --save-dir keeps this test’s saves apart from ordinary play; relative paths are relative to the terminal’s working directory. Close the window to stop.

Do not change the id in game.yaml once players have saves. Each new game gets its own ID, even when two folders share a name; --id sets one when you create the game.

The built-in font covers Latin text. For Japanese or other scripts, add a font you may redistribute under assets/ and set fonts.regular in game.yaml.

Next #

  • Edit-play loop: notes, recordings, scripts and live checks.
  • Commands: creation, validation, simulation and play.
  • Cookbook: add shops, battles, dialogue and other game features.
  • Schema: supported YAML fields and their meaning.

export packages the game with a prebuilt runtime, and export –target web makes a static website.