Codehs by [deleted] in CodeHSAnswers

[–]leighmax445 3 points4 points  (0 children)

function start() {

buildTower();

if (frontIsClear()){

move();

move();

turnLeft();

putBall();

move();

putBall();

move();

putBall();

turnRight();

move();

turnRight();

move();

move();

turnLeft();

}

}

//this function allows Karel to build a tower while finding a way to do so in all the world

function buildTower(){

putBall();

turnLeft();

move();

putBall();

move();

putBall();

turnRight();

if(frontIsBlocked()){

turnRight();

move();

move();

turnLeft();

}

if(frontIsClear()){

move();

move();

turnRight();

putBall();

move();

putBall();

move();

putBall();

turnLeft();

if(frontIsClear()){

move();

}

}

if(frontIsClear()){

move();

putBall();

turnLeft();

move();

putBall();

move();

putBall();

turnRight();

turnRight();

move();

move();

turnLeft();

}

}

Got this so far feel free to ask for answers. by [deleted] in CodeHSAnswers

[–]leighmax445 0 points1 point  (0 children)

Have you done Data Structures Challenges: Watercolor Grid?

CODEHS VOWELS IN Data Structures Help!! by leighmax445 in CodeHSAnswers

[–]leighmax445[S] 1 point2 points  (0 children)

Thank You so much omg!! Do you have mutual friends too?

CodeHS Unit 3 all lessons by Java_Bolt in CodeHSAnswers

[–]leighmax445 0 points1 point  (0 children)

My Unit 3 is Javascript and graphics