Maze generator scripts for Minecraft.
A maze generator for Minecraft with three different algorithms.
Demostration video on youtube.
There are three maze generator Python scripts:
- Recursive division (maze_recursive_division.py) [1]
- Recursive backtracking (maze_recursive_backtracking.py) [2]
- Binary tree (maze_binary_tree.py) [3]
The dimensions and the material of the maze can be changed.
The maze is always generated to the south of the player.
Install Minecraft, Python 2.7, numpy and Raspberry Jam Mod to run the scripts [4]. Then you can run the generators with the following command:
/py maze_<algorithm> <width> <height> <length> <block>
For example:
/py maze_recursive_division 21 2 21 wool_pink
/py maze_recursive_backtracking 15 1 55 obsidian
/py maze_binary_tree 35 5 35 diamond_ore
[1] Wikipedia - Recursive divison method
[2] Wikipedia - Recursive backtracking method
[3] Wikipedia - Binary tree method
[4] Instructables - Python coding for Minecraft