You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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, useelif
to avoid multiple end messages.The text was updated successfully, but these errors were encountered: