2019

Christian B

import kareltherobot.*;
public class CBMaze implements Directions {
	public static void task() {
		MazeWalker robby = new MazeWalker(1, 1, East, 0);
        robby.escapeMaze();
        robby.turnOff();
 
	}
	// Main entry point
	public static void main(String[] args) {
		World.setDelay(30);
		World.setSize(8, 9);
		World.placeBeepers(6, 7, 1);
		World.placeEWWall(3, 1, 3);
		World.placeEWWall(3, 5, 3);
		World.placeEWWall(5, 6, 3);
		World.placeEWWall(6, 2, 5);
		World.placeNSWall(2, 7, 5);
		World.placeNSWall(1, 3, 2);
		World.placeNSWall(4, 3, 2);
		World.placeNSWall(6, 6, 1);
		World.placeEWWall(7, 1, 5);
		World.setVisible();
		task();
	}
}

Andrew C

import kareltherobot.*;
public class ACMaze implements Directions {
	public static void task() {
		MazeWalker robby = new MazeWalker(1, 1, East, 0);
                robby.escapeMaze();
                robby.turnOff();
	}
	// Main entry point
 
	public static void main(String[] args) {
		World.setDelay(30);
		World.setSize(14, 14);
		World.placeBeepers(14,8, 1);
 
		World.placeNSWall(1,  0, 13);
		World.placeEWWall(0, 0, 6);
		World.placeEWWall(0,9,7);
		World.placeEWWall(13,1,7);
		World.placeEWWall(13, 9,6 );
		World.placeNSWall(1,13,14);
		World.placeEWWall(1,1,5);
		World.placeNSWall(1,5,1);
		World.placeNSWall(1,6,1);
		World.placeEWWall(1,7,7);
		World.placeNSWall(2,1,4);
		World.placeNSWall(2,3,5);
		World.placeEWWall(2, 5, 2);
		World.placeNSWall(1,6,3);
		World.placeNSWall(4,3,2);
		World.placeNSWall(4, 4, 6);
		World.placeEWWall(4,5,4);
		World.placeEWWall(3,5,1);
		World.placeNSWall(2,7,1);
		World.placeEWWall(4,3,4);
		World.placeEWWall(12,4,7);
		World.placeNSWall(13,10,1);
		World.placeNSWall(10,1,3);
		World.placeNSWall(10,2,5);
		World.placeEWWall(3,8,3);
		World.placeEWWall(2,8,4);
		World.placeNSWall(4,10,5);
		World.placeNSWall(3,11,4);
		World.placeEWWall(7,12,1);
		World.placeNSWall(2,12,4);
		World.placeNSWall(7,12,1);
		World.placeNSWall(5,8,5);
		World.placeNSWall(5,9,4);
		World.placeEWWall(5,9,1);
		World.placeEWWall(7,11,4);
		World.placeEWWall(10,11,9);
		World.placeEWWall(9,5,3);
		World.placeNSWall(5,7,4);
		World.placeEWWall(8,6,2);
		World.placeNSWall(5,5,3);
		World.placeNSWall(6,6,3);
		World.placeEWWall(10,11,2);
		World.placeNSWall(8,11,2);
		World.placeNSWall(8,11,2);
		World.placeNSWall(9,12,3);
		World.placeEWWall(10,9,2);
		World.placeNSWall(10,10,2);
		World.placeEWWall(11,9,2);
		World.placeNSWall(9,7,2);
		World.placeNSWall(8,9,1);
		World.placeNSWall(9,9,1);
		World.placeNSWall(12,11,2);
		World.placeEWWall(11,4,5);
		World.placeNSWall(8,3,4);
		World.placeEWWall(8,1,2);
		World.placeEWWall(7,1,2);
		World.placeNSWall(5,1,1);
		World.placeNSWall(3,2,2);
		World.placeEWWall(6,2,2);
		World.placeNSWall(5,2,1);
		World.placeEWWall(10,5,3);
		World.placeNSWall(14,7,1);
		World.placeNSWall(14,8,1);
	        World.setVisible();
		task();
 
 
	}
}

Daniel G

import kareltherobot.*;
public class CornMaze implements Directions {
	public static void task() {
		MazeWalker robby = new MazeWalker(1, 1, East, 0);
                robby.escapeMaze();
                robby.turnOff();
	}
	// Main entry point
	public static void main(String[] args) {
		World.setDelay(30);
		World.setSize(8, 9);
		World.placeEWWall(1, 1, 1);
		World.placeEWWall(2,2,2);
		World.placeEWWall(1, 4, 3);
		World.placeNSWall(1, 6, 1);
		World.placeNSWall(2, 1, 1);
		World.placeNSWall(3, 2, 2);
		World.placeBeepers(2, 1, 1);
		World.setVisible();
		task();
	}
}

Ethan G

import kareltherobot.*;
public class EGMaze implements Directions {
	public static void task() {
		MazeWalker robby = new MazeWalker(4, 7, North, 0);
                robby.escapeMaze();
                robby.turnOff();
 
	}
	// Main entry point
	public static void main(String[] args) {
		World.setDelay(150);
		World.setSize(8, 8);
		World.placeBeepers(3, 7, 1);
		World.placeNSWall(1, 7,7);
		World.placeEWWall(7,1,7);
		World.placeEWWall(1,4,1);
		World.placeEWWall(1,6,1);
		World.placeEWWall(3,7,1);
		World.placeNSWall(2,6,3);
		World.placeNSWall(2, 1, 2);
		World.placeNSWall(1, 2, 2);
		World.placeNSWall(2,3,2);
		World.placeEWWall(3, 2, 4);
		World.placeEWWall(4, 1, 2);
		World.placeEWWall(4, 4, 3);
		World.placeNSWall(2, 5, 2);
		World.placeEWWall(2,5,1);
		World.placeEWWall(5, 5, 1);
		World.placeEWWall(5, 7, 1);
		World.placeNSWall(5, 5, 1);
		World.placeNSWall(6, 3, 1);
		World.placeEWWall(6, 4, 3);
		World.placeNSWall(7, 5, 1);
		World.placeNSWall(6, 2, 2);
		World.placeEWWall(5,2,1);
		World.placeNSWall(6, 1, 1);
		World.setVisible();
		task();
	}
}

Luc G

import kareltherobot.*;
public class LGMaze implements Directions {
	public static void task() {
		MazeWalker robby = new MazeWalker(1, 2, East, 0);
                robby.escapeMaze();
                robby.turnOff();
 
	}
	// Main entry point
	public static void main(String[] args) {
		World.setDelay(50);
		World.setSize(10, 10);
		World.placeNSWall(0, 1, 5);
		World.placeEWWall(5, 1, 7);
		World.placeNSWall(0, 3, 5);
		World.placeEWWall(4, 4, 2);
		World.placeNSWall(7, 1, 2);
		World.placeNSWall(3, 5, 2);
		World.placeEWWall(6, 6, 3);
		World.placeEWWall(4, 7, 2);
		World.placeNSWall(2, 6, 3);
		World.placeEWWall(1, 6, 5);
		World.placeNSWall(7, 8, 4);
		World.placeNSWall(7, 5, 3);
		World.placeEWWall(8, 1, 1);
		World.placeNSWall(7, 4, 2);
		World.placeEWWall(9, 4, 2);
		World.placeNSWall(8, 3, 2);
		World.placeEWWall(6, 3, 2);
		World.placeNSWall(7, 2, 2);
		World.placeEWWall(8, 2, 1);
		World.placeBeepers(9, 1, 1);
		World.setVisible();
		task();
	}
}

Nicolas H

import kareltherobot.*;
public class NHMaze implements Directions {
	public static void task() {
		MazeWalker robby = new MazeWalker(1, 1, North, 0);
                robby.escapeMaze();
                robby.turnOff();
	}
	// Main entry point
	public static void main(String[] args) {
		World.setDelay(10);
		World.setSize(9, 8);
		World.placeBeepers(1, 7, 1);
		World.placeEWWall(1, 1, 4);
		World.placeNSWall(1, 5, 2);
		World.placeEWWall(2, 2, 4);
		World.placeNSWall(3, 1, 1);
		World.placeEWWall(4, 1, 2);
		World.placeEWWall(3, 2, 2);
		World.placeNSWall(5, 2, 4);
		World.placeNSWall(4, 3, 4);
		World.placeEWWall(8, 3, 3);
		World.placeEWWall(7, 4, 1);
		World.placeNSWall(7, 5, 2);
		World.placeNSWall(6, 4, 2);
		World.placeEWWall(5, 5, 1);
		World.placeEWWall(6, 6, 1);
		World.placeNSWall(4, 6, 3);
		World.placeNSWall(3, 5, 3);
		World.placeEWWall(3, 7, 1);
		World.placeEWWall(2, 6, 1);
		World.placeNSWall(1, 7, 3);
		World.placeNSWall(1, 6, 2);
 
		World.setVisible();
		task();
	}
}

Jordan M

import kareltherobot.*;
public class JMMaze implements Directions {
	public static void task() {
		MazeWalker robby = new MazeWalker(1, 1, North, 0);
                robby.escapeMaze();
                robby.turnOff();
	}
	// Main entry point
	public static void main(String[] args) {
		World.setDelay(1);
		World.setSize(8, 9);
		World.placeBeepers(1, 5, 1);
		World.placeEWWall(1, 1, 3);
		World.placeNSWall(1, 4, 4);
		World.placeEWWall(2, 3, 3);
		World.placeNSWall(2, 1, 5);
		World.placeEWWall(4, 3, 2);
		World.placeEWWall(6, 1, 1);
		World.placeEWWall(7, 1, 2);
		World.placeNSWall(6, 2, 2);
		World.placeEWWall(5, 3, 3);
		World.placeNSWall(5, 6, 2);
		World.placeEWWall(4, 7, 1);
		World.placeEWWall(1, 5, 3);
		World.placeNSWall(2, 6, 2);
		World.placeNSWall(2, 7, 3);
		World.placeNSWall(6, 7, 3);
		World.placeEWWall(6, 4, 3);
		World.setVisible();
		task();
	}
}

JonathanN

import kareltherobot.*;
public class JNMaze implements Directions {
    public static void task() {
                MazeWalker robby = new MazeWalker(1, 1, North, 0);
                robby.escapeMaze();
                robby.turnOff();
 
    }
    /**
     * Here are some helpful methods- Here Jonathan
     * uses a static method, rather than make a 
     * new type of Robot.
     */
    public static void turnAround(Robot r)
    {
        r.turnLeft();
        r.turnLeft();
    }
 
    public static void turnRight(Robot r)
    {
        r.turnLeft();
        r.turnLeft();
        r.turnLeft();
    }
 
    public static void moveSpaces(int spaces, Robot r)
    {
        for(int i = 0; i < spaces; i++)
        {
            r.move();
        }
    }
    // Main entry point
    public static void main(String[] args) {
        World.setDelay(30);
        World.setSize(12, 12);
        World.placeBeepers(1, 6, 1);
        World.placeEWWall(5, 4, 3);
        World.placeNSWall(1,6, 5);
        World.placeEWWall(4, 2, 4);
        World.placeNSWall(1, 5, 4);
        World.placeEWWall(5,  1,  2);
        World.placeNSWall(6, 2, 3);
        World.placeNSWall(6, 3, 4);
        World.placeEWWall(8, 1, 2);
        World.placeEWWall(9, 1, 3);
        World.setVisible();
        task();
    }
}

Matteo P

import kareltherobot.*;
public class MPMaze implements Directions {
	public static void task() {
		MazeWalker robby = new MazeWalker(1, 2, East, 0);
                robby.escapeMaze();
                robby.turnOff();
 
	}
	// Main entry point
	public static void main(String[] args) {
		World.setDelay(150);
		World.setSize(8, 9);
		World.placeBeepers(1, 4, 1);
		World.placeEWWall(4, 2, 4);
		World.placeNSWall(2,4, 5);
		World.placeEWWall(7, 1, 7);
		World.setVisible();
		task();
	}
}

Tianxi X

import kareltherobot.*;
public class TXMaze implements Directions {
	public static void task() {
		MazeWalker robby = new MazeWalker(1, 2, East, 0);
                robby.escapeMaze();
                robby.turnOff();
 
	}
	// Main entry point
	public static void main(String[] args) {
		World.setDelay(30);
		World.setSize(8, 9);
		World.placeBeepers(7, 8, 1);
		World.placeEWWall(3, 1, 5);
		World.placeNSWall(1,7, 6);
		World.placeEWWall(7, 1, 6);
		World.placeNSWall(4, 5, 1);
		World.placeEWWall(6, 2, 6);
		World.setVisible();
		task();
	}
}

Youssef Z

import kareltherobot.*;
public class YZMaze implements Directions {
    public static void task() {
                MazeWalker robby = new MazeWalker(1, 2, East, 0);
                robby.escapeMaze();
                robby.turnOff();
 
    }
    // Main entry point
    /**
     * @param args
     */
    public static void main(String[] args) {
        World.setDelay(50);
        World.setSize(15, 15);
        World.placeBeepers(10,13,1);
        World.placeNSWall(2,4,4);
        World.placeNSWall(1,6, 4);
        World.placeEWWall(5,1,6);
        World.placeNSWall(1,2,4);
        World.placeNSWall(1,7,3);
        World.placeNSWall(1,8,3);
        World.placeEWWall(3,8,1);
        World.placeNSWall(1,9,1);
        World.placeNSWall(1,12,9);
        World.placeEWWall(10,1,12);
        World.placeEWWall(1,10,1);
        World.placeNSWall(2,10,2);
        World.placeEWWall(3,11,2);
        World.placeEWWall(5,7,1);
        World.placeEWWall(5,9,4);
        World.placeEWWall(4,7,2);
        World.placeEWWall(4,10,3);
        World.placeNSWall(10,3,1);
        World.placeNSWall(10,7,1);
        World.placeEWWall(9,4,4);
        World.placeNSWall(8,1,2);
        World.placeEWWall(9,2,1);
        World.placeNSWall(8,2,2);
        World.placeEWWall(7,3,3);
        World.placeNSWall(7,5,1);
        World.placeEWWall(6,1,5);
        World.placeNSWall(9,9,2);
        World.placeEWWall(8,10,1);
        World.placeNSWall(9,10,2);
        World.placeNSWall(7,6,2);
        World.placeEWWall(7,8,5);
        World.placeEWWall(6,7,4);
        World.placeNSWall(8,7,1);
        World.placeEWWall(8,7,1);
        World.setVisible();
        task();
    }
}

George Z

import kareltherobot.*;
public class GZMaze implements Directions {
    public static void task() {
                MazeWalker robby = new MazeWalker(1, 2, East, 0);
                robby.escapeMaze();
                robby.turnOff();
    }
    // Main entry point
    public static void main(String[] args) {
        World.setDelay(10);
        World.setSize(8, 9);
        World.placeBeepers(6, 5, 1);
        World.placeEWWall(2, 1, 5);
        World.placeEWWall(4, 3, 3);
        World.placeEWWall(5, 2, 1);
        World.placeEWWall(6, 5, 3);
        World.placeEWWall(3, 2, 6);
        World.placeEWWall(1, 6, 1);
        World.placeNSWall(1,6, 5);
        World.placeNSWall(6,4, 1);
        World.placeNSWall(5,7, 2);
        World.placeNSWall(2,7, 2);
        World.placeNSWall(5,5, 2);
        World.placeNSWall(1,2, 1);
        World.placeNSWall(1,4, 1);
        World.placeNSWall(2,3, 1);
        World.placeNSWall(4,1, 2);
        World.placeNSWall(5,3, 3);
        World.placeEWWall(6, 1, 3);
        World.setVisible();
        task();
    }
}

Jiabo Z

import kareltherobot.*;
public class JZMaze implements Directions {
    public static void task() {
        MazeWalker robby = new MazeWalker(1, 2, East, 0);
                robby.escapeMaze();
                robby.turnOff();
    }
    // Main entry point
    public static void main(String[] args) {
        World.setDelay(50); 
        World.setSize(7, 7); 
        World.placeBeepers(6, 1, 1);
        World.placeEWWall(6, 1, 6);
        World.placeEWWall(1, 2, 1);
        World.placeNSWall(1, 1, 1);
        World.placeNSWall(1, 3, 2);
        World.placeEWWall(2, 2, 2);
        World.placeNSWall(4, 1, 1);
        World.placeEWWall(4, 2, 3);
        World.placeEWWall(6, 1, 4);
        World.placeNSWall(1, 6, 6);
        World.placeEWWall(5, 1, 4);
        World.placeNSWall(2, 4, 4);
        World.placeEWWall(1, 5, 1);
        World.placeNSWall(3, 5, 4);
        World.setVisible();
        task(); 
    }
}

Back