You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This probably belongs in drivers/decisiondriver, which does random number stuff. If I was you i'd make the spaces around the d optional -- NdX is pretty common dnd terminology aiui.
You might find the Lexer in package util helpful for string parsing. You can see some simple example usage in drivers/decisiondriver/decisiondriver.go, in the quoteSplit function.
feed me tips and target points on coding and i'll happily implement
interface suggestion:
sp0rkle: roll <n> d<d>
args:
behaviour:
return dice roll number set for n dice of size d
integer list based on (pseudo)random number generator
e.g.
The text was updated successfully, but these errors were encountered: