A+ 2025/2026
1.1.4: Your First Karel Program - move();
move();
move();
move();
takeBall();
1.1.5: Short Stack - move();
putBall();
putBall();
move();
1.2.4: Make a Tower - move();
putBall();
turnLeft();
move();
putBall();
move();
putBall();
move();
turnLeft();
turnLeft();
turnLeft();
1.2.5: Pyramid of Karel - putBall();
move();
putBall();
move();
putBall();
turnLeft();
move();
putBall();
turnLeft();
move();
putBall();
turnLeft();
turnLeft();
turnLeft();
move();
turnLeft();
turnLeft();
turnLeft();
move();
putBall();
,1.3.4: Slide Karel - putBall();
move();
function turnRight(){
turnLeft();
turnLeft();
turnLeft();
}
turnRight();
move();
putBall();
move();
turnLeft();
move();
putBall();
1.3.5: Fireman Karel - move();
turnLeft();
move();
move();
move();
function turnRight() {
turnLeft();
turnLeft();
turnLeft();
}
turnRight();
move();
turnRight();
move();
move();
move();
turnLeft();
1.4.4: Pancakes - function turnRight() {
turnLeft();
turnLeft();
turnLeft();
}
function turnAround() {
turnLeft();
turnLeft();
}
function moveTwice() {
move();
move();
, }
function makePancakes() {
putBall();
putBall();
putBall();
}
move();
makePancakes();
moveTwice();
makePancakes();
moveTwice();
makePancakes();
move();
1.4.5: Mario Karel - function turnAround() {
turnLeft();
turnLeft();
}
function collectCoins() {
turnLeft();
move();
move();
move();
takeBall();
takeBall();
turnAround();
move();
move();
move();
turnLeft();
}
move();
collectCoins();
move();
move();
collectCoins();
move();
move();
collectCoins();
move();
move();
collectCoins();
1.5.4: Pancakes with Start - function moveTwice() {
move();
move();