Try to close google and then try again the level.
Andrei
Try to close google and then try again the level.
Andrei
Okay I’ll try.(20 chars)
you have to comment out your code. it’s fine because you have a copy here
Thanks, it worked. I’m in now
now can you show us your code please?
I reset everything, remember?
// Coins here disappear after a few seconds!
// Get all the gold coins before they vanish.
while(true) {
var closestGold = null;
var minGoldDist = Infinity;
var coinIndex = 0;
var coins = hero.findItems();
// Find the closest coin that is gold.
// Remember that gold coins have a value of 3.
if(closestGold) {
// Now go to the closest gold coin and get it!
}
}
Copy this code
With the changes that @ActualllOLLIEpop and myself told you to do.
Wait I’m changing the code to all the things you just said
Do not do that. You will learn the for loops later, now use the while loop.
Andrei
okay. i have deleted it.
ok. Whats a for loop?
it’s in cloud rip mountain don’t do it yet
just continue with what you have in your bag (metaphor)
okay I’ll learn it l8r
can you just show us your code, @athian? and please don’t bother with the for loop just yet
You can delete that.
Andrei
That is the placeholder in Phyton ( and maybe in Java Script too ).
Andrei
doesn’t seem like it’s one in java
can you show us your code please @Monsty?