Editing 1608: Hoverboard
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3,297: | Line 3,297: | ||
To see a list of coin coordinates you have not yet collected: | To see a list of coin coordinates you have not yet collected: | ||
− | var | + | var L = 0; |
− | + | for (var S = 0; S < explorer.objects.length; S++) { | |
− | + | var I = explorer.objects[S]; | |
− | + | if (I.got) { | |
− | + | L++; | |
+ | } else { | ||
+ | console.log(I.x1.toString() + ", " + I.y1.toString()); | ||
+ | } | ||
+ | } | ||
+ | console.log("You've found " + L.toString() + " of 169 coins"); | ||
To display the distance and direction to the closest coin (with inverted colors once you have all the coins): | To display the distance and direction to the closest coin (with inverted colors once you have all the coins): |