Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* This program draws a big tower from Karel's starting spot */
- function start(){
- turnN();
- column();
- }
- function turnN(){
- while (notFacingNorth()) {
- turnLeft();
- }
- }
- function column(){
- while (frontIsClear()) {
- putBall();
- move();
- }
- putBall();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement