Lots and Lots of bugs

I can’t finish any level in codecombat 'cause of bugs like I can’t move at all and i do nothing but hold still this is happening with the two levels that are available spinach power and dust in the savern dessert

Can you show us a screenshot of the level and the code that you have (even if it is just the starter code) please

1 Like


While loops are weird sometimes. I would just replace the while loop with a while true loop and add an if statement after the “if enemy” code and break from the loop when the attack variable is greater than 10.

2 Likes

Yep, that’s what you should do with while loops in codecombat

After a while I figured it out, I had to change my character though it didnt tell me I needed to

Changing your character shouldn’t do anything ;-;

but it did work I think I just needed better stuff possibly