Hello Tynker community,
I have a student whose JavaScript code is the same as the solution but it won’t run.
We are having problems with Variables- Rocket Jump.
fuel=150;
while(!reachedGoal()){
if(hasPathLeft()){
turnLeft();
}else if(hasPathRight()){
turnRight();
}else if(isObstacle()){
jump();
}
forward();
}
Help!
Edgar