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

Passing 1 always makes you a winner #159

Open
nimbit-software opened this issue Dec 17, 2023 · 0 comments
Open

Passing 1 always makes you a winner #159

nimbit-software opened this issue Dec 17, 2023 · 0 comments

Comments

@nimbit-software
Copy link

https://github.com/inancgumus/learngo/blob/e366d1a364eba61a08f84a17ef6dbf60818aa144/13-loops/exercises/08-lucky-number-exercises/01-first-turn-winner/solution/main.go#L54C17-L54C17

the random number should not be effected by the users entry. In the example passing in one will always result in you winning since Intn is limited to the guess.
The range for the random number should be a constant

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

No branches or pull requests

1 participant