User Tools

Site Tools


mazewalker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
mazewalker [2019/08/29 23:44] frchrismazewalker [2019/08/29 23:52] frchris
Line 3: Line 3:
 ====== Before ====== ====== Before ======
  
-{{::turnrightbefore.png?300|}}+{{::turnrightbefore.png|}}
 ====== After ====== ====== After ======
-{{::turnrightafter.png?300|}}+{{::turnrightafter.png|}}
  
-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?).  Do you think following the left walls would be better? +These four different position changes is the cornerstone for the algorithm that directs a robot to escape from a maze simply by following the right wall.  It isn't the most efficient algorithm, and it won't work on mazes that have islands (Can you imagine why?).  Do you think following the left walls would be better? 
  
  
Line 15: Line 15:
 { {
  
- public MazeWalker(int street, int avenue, Direction direction, int beepers) {+ public MazeWalker(int street, int avenue,  
 +                       Direction direction, int beepers)  
 +       {
  super(street, avenue, direction, beepers);  super(street, avenue, direction, beepers);
   
Line 52: Line 54:
  
 {{ ::mazewalkerrunner.java |MazeWalkerRunner.java}} {{ ::mazewalkerrunner.java |MazeWalkerRunner.java}}
- 
  
mazewalker.txt · Last modified: 2022/09/05 12:25 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki