Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

score bug #8

Closed
moha-b opened this issue Aug 28, 2022 · 2 comments
Closed

score bug #8

moha-b opened this issue Aug 28, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@moha-b
Copy link
Owner

moha-b commented Aug 28, 2022

When you press the start button, quickly after losing the first time the points will increase by themselves

@moha-b moha-b added the bug Something isn't working label Aug 28, 2022
@moha-b moha-b self-assigned this Aug 28, 2022
@moha-b moha-b closed this as completed Aug 28, 2022
@moha-b moha-b reopened this Aug 28, 2022
@narmuni123
Copy link

Solved the issue
if(!birdIsDead() && gameHasStarted == true){
setState(() {
if (score == topScore) {
topScore++;
}
score++;
});
}

Try this

@moha-b
Copy link
Owner Author

moha-b commented Dec 2, 2022

I already try it but it's not working this is the code from the game

        setState(() { 
           if (score == topScore) { 
             topScore++; 
           } 
           score++; 
         });

@moha-b moha-b pinned this issue Dec 24, 2022
Repository owner locked and limited conversation to collaborators Jan 6, 2023
@moha-b moha-b converted this issue into discussion #21 Jan 6, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants