dice vocabulary
Factor handbook > Vocabulary index


Summary
Random dice rolls (with modifiers)

Meta-data
Authors:John Benediktsson


Words

Parsing words
WordSyntax
ROLL:


Ordinary words
WordStack effect
(random-roll)( #dice #sides obj -- n )
parse-roll( string -- #dice #sides #added )
random-roll( #dice #sides -- n )
random-rolls( length #dice #sides -- seq )
roll( string -- n )
roll-quot( string -- quot: ( -- n ) )


Files