Skip to content

Conversation

lulunac27a
Copy link

No description provided.

@5j54d93
Copy link
Owner

5j54d93 commented Apr 14, 2025

The new random method is more reasonable. However, it seems that the maxNumber variable needs to be reset to 1 when game ends.

if isEnd {
    maxNumber = 1
    if score > bestScore {
        bestScore = score
    }
    self.isEnd = isEnd
}

@lulunac27a
Copy link
Author

I agree with that idea.

@lulunac27a
Copy link
Author

Still waiting for changes

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 this pull request may close these issues.

2 participants