Game development 2 level 30

Welcome to the forum! This is a family-friendly place where coders can share bugs, ask for help on any CodeCombat level (don’t forget to post your code correctly), or just hang out with other coders. But before you proceed, please check out our guidelines: this topic.
Have a great time! :partying_face:
Can you please format your code correctly by clicking the gear button and the </> button. Those who can help you will be able to read your code easier. Thanks!!