Troll, a Language for specifying Dice-rolls

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review


  • Troll-SAC

    Final published version, 181 KB, PDF document

Dice are used in many games, and often in fairly complex ways that make it difficult to unambiguously describe the dice-roll mechanism in plain language.

Many role-playing games, such as Dungeons & Dragons, use a formalised notation for some instances of dice-rolls. This notation, once explained, make dice-roll descriptions concise and unambiguous. Furthermore, the notation has been used in automated tools for pseudo-random dice-rolling (typically used when playing over the Internet).

This notation is, however, fairly limited in the types of dice-rolls it can describe, so most games still use natural language to describe rolls. Even Dungeons & Dragons use formal notation only for some of the dice-roll methods used in the game. Hence, a more complete notation is in this paper proposed, and a tool for pseudo-random rolls and (nearly) exact probability calculations is described.

The notation is called "Troll", combining the initial of the Danish word for dice ("terninger") with the English word "roll". It is a development of the language Roll described in an earlier paper. The present paper describes the most important features of Troll and its implementation.

Original languageEnglish
Title of host publicationProceedings of the 2009 ACM symposium on Applied Computing : Programming Language Track
Number of pages6
PublisherAssociation for Computing Machinery
Publication date2009
ISBN (Print)978-1-60558-166-8
Publication statusPublished - 2009
EventThe 2009 ACM symposium on Applied Computing (SAC '09) - Honolulu, United States
Duration: 9 Mar 200912 Mar 2009
Conference number: 24


ConferenceThe 2009 ACM symposium on Applied Computing (SAC '09)
LandUnited States

Number of downloads are based on statistics from Google Scholar and

No data available

ID: 17117509