mazewalker
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mazewalker [2019/08/29 23:41] – frchris | mazewalker [2019/08/29 23:45] – frchris | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== Before ====== | ====== Before ====== | ||
- | {{:: | + | {{:: |
====== After ====== | ====== After ====== | ||
- | {{:: | + | {{:: |
Here are four of the different position changes that the robot must be able to make. This instruction is the cornerstone for the program that directs a robot to escape from a maze. It isn't the most efficient algorithm, and it won't work on mazes that have islands (Can you imagine why? | Here are four of the different position changes that the robot must be able to make. This instruction is the cornerstone for the program that directs a robot to escape from a maze. It isn't the most efficient algorithm, and it won't work on mazes that have islands (Can you imagine why? | ||
- | |||
- | |||
- | {{ :: | ||
- | |||
- | Once the tester shows that the four cases are handled correctly, here is a maze runner class with its own maze: | ||
- | |||
- | {{ :: | ||
<code java> | <code java> | ||
Line 51: | Line 44: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | First use the '' | ||
+ | |||
+ | {{ :: | ||
+ | |||
+ | Once the tester shows that the four cases are handled correctly, here is a maze runner class with its own maze: | ||
+ | |||
+ | {{ :: | ||
+ | |||
+ |
mazewalker.txt · Last modified: 2022/09/05 12:25 by frchris