make_a_maze
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
make_a_maze [2019/08/17 11:40] – frchris | make_a_maze [2019/08/17 11:51] – [3 Ways to Make Walls] frchris | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Make a Maze ====== | ====== Make a Maze ====== | ||
- | Make a Maze with 4 to 6 walls and one beeper. | + | Make a Maze with 4 to 6 walls and one beeper. |
+ | |||
Walls or obstacles are pared of the World class and can be placed in a NS or a EW direction, and have length. | Walls or obstacles are pared of the World class and can be placed in a NS or a EW direction, and have length. | ||
Line 26: | Line 27: | ||
World.setDelay(150); | World.setDelay(150); | ||
World.setSize(8, | World.setSize(8, | ||
- | // | ||
World.placeBeepers(1, | World.placeBeepers(1, | ||
World.placeEWWall(3, | World.placeEWWall(3, | ||
Line 52: | Line 52: | ||
eastwestwalls 3 1 3 | eastwestwalls 3 1 3 | ||
northsouthwalls 1 6 5 | northsouthwalls 1 6 5 | ||
- | eastwestwalls 6 1 6</ | + | eastwestwalls 6 1 6</ |
+ | |||
+ | This way has extra steps, but once you make this text file, you can easily send your maze to someone else and have them figure out a way to navigate it. You can actually use the first method, and the use the '' |
make_a_maze.txt · Last modified: 2021/09/05 13:16 by frchris