Writers' Atlas

ChoiceScript

A scripting language for stat-driven multiple-choice games.

A few stats, a text file of choices, and a game that runs in a browser.

ChoiceScript is the scripting language of Choice of Games, founded in 2009 by Dan Fabulich and Adam Strong-Morse. The Wikipedia page describes it as designed for multiple-choice games with a small number of variables. Games are plain text with commands for choices, stats and conditions, published under the company's own label or through Hosted Games, which shares revenue with outside authors.

The design encourages a particular craft: long prose, stat-driven branches, and endings shaped by accumulated choices rather than a tree. Titles run to very large word counts, some past 1.6 million words. The company is also known for accessibility to visually impaired players and for diverse portrayals of gender and sexuality.

Beside Twine, which is visual and link-based, and ink, which is built for games engines, ChoiceScript is the tool for the stat-based choice novel.

Example

Choice of the Dragon (Choice of Games, 2009)

The player is a dragon whose choices raise or lower stats for brutality, cunning and the like, and later scenes test those numbers. The first Choice of Games title set the pattern: few variables, many words, and endings earned by consistency.

How to use it

Common mistakes

Alternatives

Used with

Sources

  1. Choice of Games (Wikipedia)