Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify dice roll function #15

Open
LearningNerd opened this issue Jul 13, 2015 · 0 comments
Open

Simplify dice roll function #15

LearningNerd opened this issue Jul 13, 2015 · 0 comments
Assignees
Milestone

Comments

@LearningNerd
Copy link
Member

Calls to random.randint() get repetitive. We can put this in a function and use an argument instead to make this shorter. (practicing the DRY principle -- don't repeat yourself)

@LearningNerd LearningNerd changed the title Simply dice roll function Simplify dice roll function Jul 13, 2015
@LearningNerd LearningNerd modified the milestone: Sprint 002 Jul 13, 2015
@zerodrek zerodrek self-assigned this Jul 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants