Trying to change people is a waste of time.

Trying to improve your programming skills is not.

/**
* Karel program
* For Love
**/
function turnRight() {
turnLeft();
turnLeft();
turnLeft();
}
function turnAround() {
turnLeft();
turnLeft();
}
function main(){
move();
move();
move();
move();
move();
move();
move();
putBeeper();
turnLeft();
move();
putBeeper();
turnRight();
move();
putBeeper();
turnAround();
move();
move();
putBeeper();
turnRight();
move();
turnLeft();
move();
putBeeper();
turnAround();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
turnLeft();
move();
turnRight();
move();
putBeeper();
turnAround();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
turnRight();
move();
turnLeft();
move();
putBeeper();
turnAround();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
turnLeft();
move();
putBeeper();
turnLeft();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
move();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
move();
putBeeper();
turnRight();
move();
turnRight();
move();
putBeeper();
move();
putBeeper();
move();
move();
move();
move();
putBeeper();
move();
putBeeper();
move();
move();
}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Steve Douglas

Steve is a Canadian polymath whose pro music career officially began at age 4 when he performed live @ Wembley Stadium. His focus = tangibly benefiting youth.