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:40] – frchris | mazewalker [2019/08/29 23:52] – frchris | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Write an instruction '' | + | Write an instruction '' |
====== Before ====== | ====== Before ====== | ||
- | {{:: | + | {{:: |
====== After ====== | ====== After ====== | ||
- | {{:: | + | {{:: |
- | Here are four of the different position changes | + | These four different position changes is the cornerstone for the algorithm |
- | |||
- | |||
- | {{ :: | ||
- | |||
- | 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 21: | Line 15: | ||
{ | { | ||
- | public MazeWalker(int street, int avenue, Direction direction, int beepers) { | + | public MazeWalker(int street, int avenue, |
+ | Direction direction, int beepers) | ||
+ | { | ||
super(street, | super(street, | ||
Line 50: | Line 46: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | 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