Options
A table setting or house rule that changes one value, such as game length or a hand size. Each option says whether a non-default value is allowed in rated play.
In the base game or an expansion
Expansions and variants
Most successful board games grow: new factions, new maps, new modules. In BGDL, each expansion is its own versioned package, and Arbitas combines them safely, so every combination your players choose is a game that works.
BGDL separates small table settings from official alternate rules and from whole new content, so each is handled the simplest way that works.
A table setting or house rule that changes one value, such as game length or a hand size. Each option says whether a non-default value is allowed in rated play.
In the base game or an expansion
Official alternate rules inside one ruleset, switched on by the table, such as a team mode or a draft. A variant can change a value or override a whole action or phase.
In the base game
Separate, versioned packages that layer onto a base game: new components, rules, phases, end conditions and options, each declaring which base versions it works with.
In their own file
An expansion file starts with a manifest: its name and version, the base game and versions it works with, the expansions it requires or conflicts with, and any it should come after. Then it says what it changes, in three sections applied in order:
dsl: "1.0"
expansion:
id: harbour
name: The Harbour
version: 1.2.0
requires:
base: my-game@^2.0.0
after: [markets]
remove:
# data rows, actions, triggers or variants
replace:
# whole named rules, when nothing smaller works
add:
# components, data rows, zones, actions,
# phases at a named anchor, end conditions…The shape of a manifest. Real expansions add their content in each section.
Before a match starts, Arbitas composes the base game, the chosen expansions and the table's options into one ruleset, then checks it like any other. The composer follows strict rules, so combining packages is never a guess.
Adding something that already exists is an error. To change it, an expansion must say so with replace.
Two expansions replacing the same thing is an error, unless one requires the other or is declared to come after it, and then the later one wins.
Dependencies come first, then declared ordering, then name, so the same selection always composes the same game, whatever order the expansions were chosen in.
An expansion inserts its phases at anchors the base game names, sorted by a declared order when several share an anchor.
An expansion's end conditions are added to the base game's, so the game ends when any of them is met.
The composed ruleset records the base and expansion versions, the chosen options, which package added, replaced or removed each item, and a hash. The match log keeps the hash, so a replay rebuilds exactly the same game.
Name the places expansions hook in: anchors in the turn flow, a single procedure for each kind of gain, and the values modifiers may change. Splitting one heavy game into base and expansions meant adding exactly these, and the refactor found a real bug in the base.
When the things an expansion adds (resources, projects, global tracks) are table rows rather than code, an expansion adds a row instead of rewriting a rule.
Two expansions that both replace the same action can't be combined, and the composer refuses them. Moving the varying part into the base, such as costs as a map over currencies, lets each expansion add or change one small piece, and they compose.
Start free and write your base game in BGDL, or book a demo and we'll talk through your expansion roadmap.