summaryrefslogtreecommitdiff
path: root/games/p5-Games-Dice (follow)
Commit message (Collapse)AuthorAgeFilesLines
* For ports maintained by ports@FreeBSD.org, remove names and/orDoug Barton2009-12-211-5/+0
| | | | | | | | | | | e-mail addresses from the pkg-descr file that could reasonably be mistaken for maintainer contact information in order to avoid confusion on the part of users looking for support. As a pleasant side effect this also avoids confusion and/or frustration for people who are no longer maintaining those ports. Notes: svn path=/head/; revision=246327
* Reset aaron's port maintainerships due to many maintainer-timeouts.Mark Linimon2008-04-291-1/+1
| | | | Notes: svn path=/head/; revision=212202
* - Take advantage of CPAN macro from bsd.sites.mk, change ↵Marcelo Araujo2008-04-171-2/+1
| | | | | | | | | | | | ${MASTER_SITE_PERL_CPAN} to CPAN. PR: ports/122674 Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com> Reworked by: araujo (myself) Approved by: portmgr (pav) Notes: svn path=/head/; revision=211450
* - Updated maintainerAaron Dalton2006-05-231-1/+1
| | | | | | | Approved by: tobez (implicit) Notes: svn path=/head/; revision=163189
* SHA256ifyEdwin Groothuis2006-01-221-0/+1
| | | | | | | Approved by: krion@ Notes: svn path=/head/; revision=154152
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryEdwin Groothuis2006-01-221-2/+2
| | | | | | | | Approved by: krion@ PR: ports/88711 (related) Notes: svn path=/head/; revision=154113
* Add p5-Games-Dice.Jean-Yves Lefort2005-06-024-0/+51
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. % can be used instead of 100 for b; hence, rolling 2d% 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. Author: Philip Newton <pne@cpan.org> WWW: http://search.cpan.org/dist/Games-Dice/ PR: ports/81612 Submitted by: Aaron Dalton <aaron@daltons.ca> Notes: svn path=/head/; revision=136673