Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Edited 4/14/2026

Workflow

The landing page may be a bit goofy, but “outline, decree, engrave” is genuinely the recommended workflow. This page does not go into detail because each topic has its own section in the Concepts chapter. In slightly less arrogant terms, the overall intention for using Borger as a framework is:

  1. Outline: Additions to the state definition (defined in state.ts) enable storage for new game mechanics that persist throughout a single game session.

  2. Decree: This is simulation logic. Given the shape of data defined by state.ts, write the code that populates that state, governed by the rules of the game.

  3. Engrave: Presentation logic takes the populated state and decides how it should look and sound to the player.

Following these steps results in something that looks vaguely similar to a video game.