![]() Bypass all the variable storing in the middle and just hero. hero.moveXY(30, 13) secret hero.findNearestFriend(). ![]() CodeCombat - Coding games to learn Python and JavaScript Move to Laszlo and get the secret number from him. Seems to only work when I make the hero.move(itemPos) to bypass the variables: // Follow the lightstone to navigate the traps. Contribute to Metalero-py/CodeCombat-ComputerScience3-python development by creating an account on GitHub. I can’t figure out the code to The Wizard’s Door and this is my code. 13K views 4 years ago Computer Science 2 - Code Combat JavaScript. However, it doesn’t work as it’s supposed to. Move to the coordinates using moveXY() and the X and Y variables: teacher.tekmonk October 22, 2023, 1:34pm 1. Store the X and Y coordinates using pos.x and pos.y: Store the items position in a new variable using item.pos: This code I believe should be working, but my hero stops halfway like it can’t understand where the lightstone went.: // Follow the lightstone to navigate the traps. When a function is called, it will be equal to the value the function returns. I believe some weird things are happening in this level. Dont attack the burls Functions can return a value.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |