Troll, a Language for specifying Dice-rolls
Research output: Chapter in Book/Report/Conference proceeding › Article in proceedings › Research › peer-review
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.
|Title of host publication||Proceedings of the 2009 ACM symposium on Applied Computing : Programming Language Track|
|Number of pages||6|
|Publisher||Association for Computing Machinery|
|Publication status||Published - 2009|
|Event||The 2009 ACM symposium on Applied Computing (SAC '09) - Honolulu, United States|
Duration: 9 Mar 2009 → 12 Mar 2009
Conference number: 24
|Conference||The 2009 ACM symposium on Applied Computing (SAC '09)|
|Periode||09/03/2009 → 12/03/2009|
- The Faculty of Science - Programming languages, Probability calculation, Games
Number of downloads are based on statistics from Google Scholar and www.ku.dk