2020
2020
Tim P
import kareltherobot.*; public class TPMaze 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(150); World.setSize(8, 9); //Plce beeps at the begining and the end World.placeBeepers(2, 1, 1); World.placeBeepers(7, 1, 1); //Walls that make the maze World.placeEWWall(2, 1, 6); World.placeNSWall(2, 2, 4); World.placeEWWall(6, 1, 4); World.placeNSWall(1, 7, 3); World.placeNSWall(4, 4, 3); World.placeEWWall(1, 4, 4); World.placeEWWall(3, 5, 2); World.setVisible(); task(); } }
Matthew P
//@author Matthew P import kareltherobot.*; public class MPMaze implements Directions { public static void task() { MazeWalker robby = new MazeWalker(1, 1, East, 0); robby.escapeMaze(); robby.turnOff(); } public static void main(String[] args) { World.setDelay(100); World.setSize(8, 8); World.placeBeepers(8, 2, 1); //goal World.placeEWWall(1, 3, 4); World.placeNSWall(1,5,1); World.placeNSWall(1, 7, 7); World.placeEWWall(7, 1, 1); World.placeEWWall(7, 3, 5); World.placeNSWall(2, 6, 4); World.placeNSWall(3, 5, 4); World.placeEWWall(3, 1, 4); World.placeNSWall(2, 2, 1); World.placeEWWall(2, 2, 1); World.placeNSWall(2, 1, 1); World.placeEWWall(5, 5, 2); World.placeEWWall(4, 5, 1); World.placeEWWall(6, 6, 1); World.placeNSWall(3, 3, 1); World.placeEWWall(2, 4, 1); World.placeNSWall(5, 3, 3); World.placeEWWall(4, 2, 2); World.placeNSWall(7, 4, 1); World.placeNSWall(7, 2, 1); World.placeNSWall(5, 1, 1); World.placeEWWall(5, 2, 1); World.setVisible(); task(); } }
Jason P
import kareltherobot.*; public class JPMaze 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(50); World.setSize(10, 10); //Plce beeps at the begining and the end World.placeBeepers(6, 5, 1); World.placeBeepers(1, 1, 1); //Walls that make the maze World.placeEWWall(1, 1, 5); World.placeNSWall(2, 5, 7); World.placeNSWall(1, 7, 9); World.placeEWWall(5, 6, 1); World.placeEWWall(7, 1, 4); World.placeEWWall(9, 1, 7); World.placeNSWall(7, 4, 1); World.setVisible(); task(); } }
Allister Q
/* * @author Allister Q * @version August 19, 2020 */ import kareltherobot.*; public class AQMaze 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(150); World.setSize(8, 9); //Plce beeps at the begining and the end World.placeBeepers(5, 5, 1); World.placeBeepers(4, 1, 1); World.placeBeepers(1, 1, 1); //Walls that make the maze World.placeNSWall(1, 1, 2); World.placeEWWall(2, 2, 1); World.placeEWWall(1, 3, 1); World.placeEWWall(5, 1, 4); World.placeNSWall(4, 1, 1); World.placeEWWall(4, 2, 1); World.placeNSWall(4, 4, 2); World.placeEWWall(3, 3, 1); World.placeNSWall(2, 3, 3); World.placeEWWall(1, 4, 1); World.placeNSWall(1, 5, 5); World.placeEWWall(2, 4, 2); World.placeEWWall(3, 1, 1); World.setVisible(); task(); } }
Ryan R
import kareltherobot.*; public class RRMaze 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(150); World.setSize(8, 9); //Plce beeps at the begining and the end World.placeBeepers(6, 7, 1); World.placeBeepers(1, 1, 1); World.placeBeepers(6, 1, 1); World.placeBeepers(3, 2, 1); World.placeBeepers(1, 4, 1); World.placeBeepers(5, 6, 1); World.placeBeepers(5, 6, 1); World.placeBeepers(6, 6, 1); World.placeBeepers(2, 7, 3); //Walls that make the maze World.placeEWWall(2, 1, 2); World.placeEWWall(7, 3, 4); World.placeEWWall(5, 6, 4); World.placeEWWall(3, 5, 2); World.placeNSWall(1, 3, 3); World.placeNSWall(5, 4, 2); World.placeNSWall(4, 5, 2); World.placeNSWall(5, 6, 3); World.placeNSWall(3, 2, 1); World.placeNSWall(5, 3, 3); World.placeEWWall(4, 2, 2); World.placeEWWall(1, 3, 4); World.placeEWWall(3, 2, 1); World.placeEWWall(5, 1, 1); World.placeEWWall(5, 3, 1); World.placeNSWall(6, 1, 2); World.placeEWWall(6, 2, 1); World.setVisible(); task(); } }
Alec S
import kareltherobot.*; /** * Alec S */ public class ASMaze 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(150); World.setSize(10, 10); //Plce beeps at the begining and the end World.placeBeepers(6, 9, 1); World.placeBeepers(1, 1, 1); World.placeBeepers(5, 4, 1); //Walls that make the maze World.placeEWWall(4, 1, 2); World.placeNSWall(1, 1, 3); World.placeNSWall(2, 2, 3); World.placeEWWall(1, 3, 1); World.placeEWWall(1, 5, 1); World.placeNSWall(2, 3, 4); World.placeNSWall(2, 4, 4); World.placeNSWall(2, 5, 5); World.placeEWWall(5, 4, 1); World.placeNSWall(1, 6, 5); World.placeEWWall(6, 6, 4); World.placeEWWall(5, 7, 3); World.placeNSWall(6, 9, 1); World.setVisible(); task(); } }
2020.txt · Last modified: 2021/09/04 15:10 by frchris