mazewalker
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mazewalker [2021/09/01 16:18] – frchris | mazewalker [2022/09/05 12:25] (current) – [MaveWalker Troubleshooting] frchris | ||
|---|---|---|---|
| Line 56: | Line 56: | ||
| {{ :: | {{ :: | ||
| + | |||
| + | ===== Running your MazeWaker with Student Mazes ===== | ||
| + | |||
| + | Download the text file you find at [[https:// | ||
| + | <code MazeWalkerRunner.java> | ||
| + | import java.awt.Color; | ||
| + | import kareltherobot.*; | ||
| + | public class MazeWalkerRunner implements Directions | ||
| + | { | ||
| + | public static void task() | ||
| + | { | ||
| + | // change the location to where the first beeper is: | ||
| + | MazeWalker mayzie = new MazeWalker(1, | ||
| + | mayzie.pickBeeper(); | ||
| + | mayzie.escapeMaze(); | ||
| + | mayzie.turnOff(); | ||
| + | } | ||
| + | |||
| + | public static void main(String[] args) | ||
| + | { | ||
| + | World.reset(); | ||
| + | World.setDelay(1); | ||
| + | World.setBeeperColor(Color.RED); | ||
| + | // change the name to match the maze world file | ||
| + | World.readWorld(" | ||
| + | World.setVisible(); | ||
| + | task(); | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== MazeWalker Troubleshooting ===== | ||
| Hints: | Hints: | ||
| * Case One check: is the front clear? | * Case One check: is the front clear? | ||
| Line 65: | Line 97: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
mazewalker.1630527484.txt.gz · Last modified: 2021/09/01 16:18 by frchris