Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Improve roll command #19

Open
indiv0 opened this issue Dec 15, 2016 · 0 comments
Open

Improve roll command #19

indiv0 opened this issue Dec 15, 2016 · 0 comments
Labels

Comments

@indiv0
Copy link
Owner

indiv0 commented Dec 15, 2016

  • when no initial number is specified (e.g. d12), assume it's a 1
  • add a cheeky message when a user attempts to roll a d0 or a d1
  • add special messages for a crit fail or crit success
  • add multi-die capability
  • ensure the resulting message isn't too long (possibly limit the number of dice?)
  • write tests to check that the handler works properly.
  • add a notice regarding the minimum and maximum X & Y values to the error message and the help output
  • remove hard-coded 4294967295 check with a call to u32::max_value()
  • check for numbers larger than 4294967295 in addition to the value itself
  • handle very large numbers via the num crate
@indiv0 indiv0 added the command label Dec 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant