Play Home Contribute Github Join Us! Discourse Staff Members Github Contribution Guides Team

Python loop attack problem... How do I get it to work?


#1

I can’t seem to get the attack loop to work. Can someone please tell me how to get it to work? I tried using the format shown in the loop book thing but I can’t get it to stop attacking when the enemy is dead. How do I get it to loop until the enemy is dead and then move on? Nox VidMate


#2

Hi Jacobcullen and welcome to Code Combat Discourse! Please let us know what level you’re working on and post your code according to the below instructions and we’ll be happy to help you.