p5-Games-Dice - Perl module to simulate die rolls

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Quarterly amd64
Package filename p5-Games-Dice-0.045.txz
Package name p5-Games-Dice
Package version 0.045
Package release -
Package architecture amd64
Package type txz
Category games perl5
Homepage https://metacpan.org/release/Games-Dice
License MIT
Maintainer danilo@FreeBSD.org
Download size 9.16 KB
Installed size 16.79 KB
Games::Dice simulates die rolls. It uses a function-oriented (not
object-oriented) interface. No functions are exported by default.
The number and type of dice to roll is given in a style which should be
familiar to players of popular role-playing games: adb[+-*/b]c. a is optional
and defaults to 1; it gives the number of dice to roll. b indicates the number
of sides to each die. %25 can be used instead of 100 for b; hence, rolling 2d%25
and 2d100 is equivalent. roll simulates a rolls of b-sided dice and adds
together the results. The optional end, consisting of one of +-*/b and a
number c, can modify the sum of the individual dice. +-*/ are similar in that
they take the sum of the rolls and add or subtract c, or multiply or divide
the sum by c. (x can also be used instead of *.) Using b in this slot is a
little different: it's short for "best" and indicates "roll a number of dice,
but add together only the best few". For example, 5d6b3 rolls five six- sided
dice and adds together the three best rolls.
WWW: https://metacpan.org/release/Games-Dice


Package Version Architecture Repository
p5-Games-Dice-0.045.txz 0.045 i386 FreeBSD Ports Quarterly
p5-Games-Dice-0.045.txz 0.045 amd64 FreeBSD Ports Latest
p5-Games-Dice-0.045.txz 0.045 i386 FreeBSD Ports Latest
p5-Games-Dice - - -


Name Value
perl5 = 5.28.1_1


Type URL
Mirror pkg.freebsd.org
Binary Package p5-Games-Dice-0.045.txz
Source Package games/p5-Games-Dice

Install Howto

Install p5-Games-Dice txz package:

# pkg install p5-Games-Dice

See Also

Package Description
p5-Games-Dissociate-1.txz Dissociated Press algorithm and filter
p5-Games-GuessWord-0.16_1.txz Guess the letters in a word (ie Hangman)
p5-Games-Tournament-RoundRobin-0.03.txz Round-Robin Tournament Schedule Pairings
p5-Gantry-3.64_1.txz Web application framework for mod_perl, cgi, etc
p5-Gazelle-0.48.txz Preforked Plack Handler for performance freaks
p5-Gearman-1.11_1.txz Gearman client libraray for Perl
p5-Gearman-Client-Async-0.94_2.txz Asynchronous client module for Gearman for Danga::Socket applications
p5-Gearman-Server-1.11_2.txz Gearman server daemon
p5-Gearman-XS-0.12_2.txz Perl front end for the Gearman C library
p5-Genezzo-0.72_2.txz Extensible database with SQL and DBI
p5-Geo-Address-Formatter-1.79.txz Take structured address data and format it according to the various global/country rules
p5-Geo-BUFR-1.37.txz Perl extension for handling of WMO BUFR files
p5-Geo-Cache-0.11_1.txz Object interface for GPS waypoints
p5-Geo-Caching-0.11_2.txz Object interface for querying Geocaching.com website
p5-Geo-Coder-Bing-0.13.txz Geocode addresses with the Bing Maps API