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

Selecting numbers and capital letters generates numbers only #4

Closed
davemachado opened this issue Aug 10, 2016 · 2 comments
Closed

Selecting numbers and capital letters generates numbers only #4

davemachado opened this issue Aug 10, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@davemachado
Copy link
Owner

No description provided.

@davemachado davemachado added this to the v1.1 milestone Aug 10, 2016
@davemachado davemachado self-assigned this Aug 10, 2016
@davemachado
Copy link
Owner Author

line 96: randomNum = getRandomNumber(numberOfCategories, 1);

Random number is pulled from the range sent in as arguments to getRandomNumber(). When the numberOfCategories is 2, the number generator will either return 1 or 2, never 3 (the number code for capital letters).

@davemachado
Copy link
Owner Author

Fixed in Commit 4883706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant