In part 1 of this article I'll show how we can use Raku to generate mazes, using Unicode Box Drawing symbols only. In part 2 we'll solve the maze (see if it is traversable), using the Shortest Path Algorithm. In part 3 we'll do the same, using the Wall Follower Algorithm.
In Part 4 I turn the code dealing with the maze in the first three parts into a module, and reimplement the programs with that module. In Part 5 and Part 6 I'll write a game (actually two), where the player (i.e. you) can have a go at traversing mazes. In Part 7 I'll present a maze editor, and finally in Part 8 I'll present some thoughts about the future of the module.
• [94.1] Part 1: The Maze
• [94.2] Part 2: The Path
• [94.3] Part 3: The Wall
• [94.4] Part 4: The Class (Published 9. December 2020)
• [94.5] Part 5: The First Game (Published 9. December 2020)
• [94.6] Part 6: The Second Game (Published 9. December 2020)
• [94.7] Part 7: The Editor (Published 9. December 2020)
• [94.8] Part 8: The Future (Published 9. December 2020)