Neither is the player.
Nor can the player spare the enemy
Please help me fix it if possible.CRUSTACEAN COMBAT
Your main loop has the wrong conditions. Try this instead:
while mercy == 0 and hp > 0 and crabhp > 0:
meaning, that you only do the loop as long as
In other words the game ends if
I hope this helps.