Skip to content

Passing 1 always makes you a winner  #159

@nimbit-software

Description

@nimbit-software

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions