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

End of game check if statement order #3

Open
Ethan-Stark opened this issue Aug 11, 2024 · 0 comments
Open

End of game check if statement order #3

Ethan-Stark opened this issue Aug 11, 2024 · 0 comments
Labels
next update This issue will be resolved in the next major update

Comments

@Ethan-Stark
Copy link

In the check() function, the both are dead if statement, if enemyHealth == 0 and playerHealth == 0: should be first and should check for negative health. Then unless multiple if statements should run, use elif to avoid multiple end messages.

@Broclly Broclly added the next update This issue will be resolved in the next major update label Sep 10, 2024
@Broclly Broclly moved this to Todo in Issue Tracking Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next update This issue will be resolved in the next major update
Projects
Status: Todo
Development

No branches or pull requests

2 participants