Brittle morale JS, confused [Solved]

{Redacted for being almost complete code}
1 Like

Link to level: CodeCombat - Coding games to learn Python and JavaScript?

1 Like

Give me a second to figure out the error here. Have you tried to submit it several times?

No, my hero does not say anything so I wont bother.

1 Like

idk what’s wrong with your code

Huh, weird does it work when you submit my code?

1 Like

No, maybe your indents are off (it may not matter though)

Do you have any errors?

Kind of strange, looks very similar to my python code on Quin wentain but you may be right (hating javascript indention noises)

1 Like

Your problem is here. The blue lines say that it should be less than the enemies.length and not greater than

Congrats on beating the level @QinWentian! :partying_face:

Hooray! Yay it was quite funny how it was one little mistake

1 Like

Yo @QinWentian you should delete your first post, because it is almost the fully functioning code and with my help it can be abused and people can just use this instead of their own code

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.