lernae
011c78e854
Dice: Fixes #3989 Set upper limit on max dice rolls and number of sides per dice ( #4078 )
...
* Dice: Fixes #3989 Set upper limit on max dice rolls and number of sides per dice
* Minor correction on naming of constant: MAX_NUM_OF_DICE
2017-04-10 12:08:59 -04:00
skhan4
7b660e0d3f
Solves issue #3437
2016-08-01 17:25:13 +00:00
skhan4
8d66247b5d
dice improved test-2
2016-07-31 10:52:32 +00:00
skhan4
2ec8928355
modified dice.pm test-1
2016-07-31 10:26:33 +00:00
Zach Thompson
73d8f72fc0
Remove id/name from Perl modules and tests
2016-03-18 11:49:33 -06:00
marianosimone
c7e6041f0f
support - and whitespace in number spelling
2016-03-01 19:56:27 +00:00
marianosimone
b8c57b832f
use Numericalize for dice trigger
2016-03-01 19:12:48 +00:00
marianosimone
a2c3f19b9d
support "dices" spelling for dice trigger
...
fixes #1255 (except for not converting "two" into 2)
2016-02-28 20:05:34 +00:00
Mailkov
8ea250489e
fix tests
2016-02-24 16:57:15 +00:00
Mailkov
35018f7143
fix graphic review
2016-02-24 16:00:37 +00:00
Mailkov
dac3579b14
fix merge conflict
2016-01-11 17:02:27 +00:00
Mailkov
2f5a3f02c6
delete other unused code
2015-12-29 19:31:49 +00:00
Mailkov
916964525c
fix review
2015-12-29 19:28:09 +00:00
Mailkov
37f8f6bf46
delete unused code
2015-12-28 19:34:35 +00:00
Mailkov
03cf8bbf3f
correct Dice.t
2015-12-28 19:32:41 +00:00
Mailkov
7b4f97c4e8
add content.handlebars
2015-12-28 19:02:05 +00:00
Mailkov
9ca5d7b4c9
add answer template
2015-12-28 18:11:27 +00:00
Mailkov
3505fa731d
inactive html code
2015-12-28 17:31:06 +00:00
Mailkov
4e5da89384
add attribution
2015-12-28 17:28:27 +00:00
Zach Thompson
07b9def34a
Goodbye metadata...mostly
2015-11-11 11:14:02 -07:00
Rob Emery
56c5ea4a5e
Goodies: Enabling `use strict` on all goodies
2015-02-22 20:09:29 +00:00
W25
ad8e26e463
Fixed errors in Dice tests
2015-01-16 03:45:40 +00:00
Russell Holt
fa5a969037
attribution cleanup
2015-01-07 13:37:42 -05:00
Matt Miller
da70710f7d
EOL: remove trailing whitespace.
2014-10-28 20:36:15 +02:00
Matt Miller
f48a4c8ccc
Dice: move from inline CSS.
2014-09-10 17:28:30 -04:00
Matt Miller
5481cf4ebc
Fix minor code layout issues.
...
Reducing scroll spam from dzil by:
- Providing ABSTRACTs for all packages.
- Leaving VERSION vertical space where necessary.
Addresses #600 plus other annoyances in the process.
2014-08-20 14:45:33 -04:00
Zaahir Moolla
71cf4afab8
Make sure we don't cache results for random goodies
2014-07-04 19:20:48 -04:00
Zaahir Moolla
1e2740ad70
Add srand() to other goodies using rand
2014-07-04 19:06:43 -04:00
Zaahir Moolla
39fae8a17c
Add srand() to handle fn for Goodies using rand()
2014-07-04 18:30:29 -04:00
Jason Dorweiler
5fdefc4655
dice: wrap total to new line on mobile
2014-06-09 21:10:23 -04:00
Jason Dorweiler
b5268014d0
dice: larger font size
2014-06-02 15:35:59 -04:00
Michael Smith
0737423abb
Remove a scary `my $_` from Dice
2014-01-30 08:43:49 -07:00
loganom
4294b8b7cf
Dice.pm: add several common functions
2014-01-16 21:20:08 -06:00
loganom
bc7ec42093
Dice.pm: update documentation
2014-01-15 23:58:59 -06:00
loganom
c177f73c8d
Dice.pm: add support for 'roll 2 dice and 3 dice and 3d5'
2014-01-12 13:38:41 -06:00
loganom
fb92c87b69
Dice.pm: update return for Dice IA
2014-01-09 16:54:19 -06:00
loganom
7f34cd8ce6
Dice.pm: add header to pictoral dice output
2014-01-08 23:07:56 -06:00
loganom
7bbb438f35
Dice.pm: add header, return if regex not matched
2014-01-08 23:00:11 -06:00
loganom
a49590f1a1
Dice.pm: do not return for roll 2d4 4d4 and 2d4
2014-01-07 18:02:30 -06:00
loganom
44e32fe460
Dice: add header, add total, no output for 100 or more dice
2014-01-07 17:47:47 -06:00
loganom
df40e1ffa1
Dice.pm restrict # of dice and newline after multiple rolls
2014-01-07 14:23:54 -06:00
loganom
0b9f7bc89b
add attribution
2014-01-07 13:03:07 -06:00
loganom
97e0dfe935
adding support for the following types of queries:
...
roll 2d4 - 4 and 3d6-l
2014-01-02 14:35:56 -06:00
Dylan Lloyd
21f4cbb94b
add then subtract -l/h, and don't sort rolls
...
discussion at (and closes)
https://github.com/duckduckgo/zeroclickinfo-goodies/issues/198
test case added
2013-08-08 15:12:33 -04:00
Dylan Lloyd
feef9138d2
make dice notation case insensitive
2013-06-19 20:57:27 -04:00
Michael Smith
a26ddcb514
Update Dice goodie with UTF8 dice ( fixes #161 )
2013-03-05 10:42:22 -07:00
Matt Lehning
ada4d399c3
Added comma's between results
2013-02-11 15:57:56 -05:00
matt lehning
43e322d7d2
Removed some unnecessary lines I added
2013-01-31 14:54:38 -05:00
matt lehning
8347023bb0
Forgot to add (random) to some of the results in Dice.pm
2013-01-27 16:16:00 -05:00
matt lehning
ca203d83da
Changed Coin.pm and Dice.pm to display (random) after results
2013-01-27 16:01:27 -05:00