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

New function for randomNumberGenerator | Restart bug #95

Closed
Ririio opened this issue Oct 16, 2022 · 1 comment · Fixed by #96
Closed

New function for randomNumberGenerator | Restart bug #95

Ririio opened this issue Oct 16, 2022 · 1 comment · Fixed by #96
Assignees

Comments

@Ririio
Copy link
Contributor

Ririio commented Oct 16, 2022

I noticed that you're repeating the use of a randomNumberGenerator when doing the calculation. Wouldn't it be much better to create a single function that returns all the random generated values to make the code look much cleaner and more efficient?

I also noticed that whenever we restart the game, the first question will always be either a 0+0, 0/0, 0-0, or 0*0.

I would like to work on these if possible

@JesseRWeigel
Copy link
Owner

Yes, thank you!

@JesseRWeigel JesseRWeigel linked a pull request Oct 17, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants