issues Search Results · repo:campaul/dicebox language:Python
Filter by
6 results
(83 ms)6 results
incampaul/dicebox (press backspace or delete to remove)Does d(10) * d(10) have any meaning? If so, which side gets turned into an int? If not how can this provide a useful
error message?
campaul
- 1
- Opened on May 28, 2014
- #6
The operator based API is fun, but it s not as powerful as the decorator based approach used internaly. Note: decorator
here is referring to the pattern, not Python decorators.
enhancement
campaul
- Opened on May 28, 2014
- #5
Doing something like d(10).times(1).plus(5) might be useful.
enhancement
campaul
- Opened on May 28, 2014
- #4
The d function can be expanded to understand more than just numbers. For example, the user might do something like
d( 20e ) for an exploding d20. This could also be the mechanism for specifying RNGs.
enhancement
campaul
- 1
- Opened on May 28, 2014
- #3
It would be nice if the user could provide an RNG to use. I can see use cases for having at least a bell curve and a
crypto RNG, in addition to the built in uniform RNG.
enhancement
campaul
- 1
- Opened on May 28, 2014
- #2
When you add a constant to a die object, that constant is effectively treated as a die that can only roll its value
(i.e., d(10) + 5 is effectively 2 dice—one which can roll 1..10 and one which can only ...
davidh-raybeam
- 4
- Opened on May 28, 2014
- #1

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.