NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Question, suggestion (Score:0)
I'm curious how your module differs from the Games::Die module (other than the fact that I can see your documentation online). I also wonder if your module could be made as a subclass of Pete Stewart's Games::Object module.
I have one suggestion, though I'm not sure how you'll feel about it. I've always liked to know the probability of rolling "x" with whatever dice combination I'm using. Any chance of adding some sort of probability calculator? That way I can bitch and moan with a little more authority when I get beat at Axis and Allies by saying, "yeah, well, I *should* have won that game. I clearly had a 62.4% chance of winning the most critical battle of the game!".
Oh, and while I'm thinking of it, how about Tk::Dice? :)
This is a work in progress here, so I keep coming up with ideas...
What about permanately tracking the dice rolls. In other words, after rolling 2d6 one hundred times, I could grab and print a hash that stored all the values I had hit in those 100 rolls.
Reply to This
Re:Question, suggestion (Score:1)
One difference is that my module was applied for and written in 1999, when there was very little in Games::*. Only I never got around to uploading it to CPAN. I haven't looked at Games::Die.
I've got a version of the
--
Esli epei eto cumprenan, shris soa Sfaha.
Aettot ibrec epesecoth, spakhea scrifeteis.