Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isbadawi/maze-generation
Quick app to visualize maze generation algorithms
https://github.com/isbadawi/maze-generation
Last synced: 22 days ago
JSON representation
Quick app to visualize maze generation algorithms
- Host: GitHub
- URL: https://github.com/isbadawi/maze-generation
- Owner: isbadawi
- License: mit
- Created: 2012-01-24T07:03:55.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-01-24T23:07:25.000Z (almost 13 years ago)
- Last Synced: 2024-04-18T04:11:25.472Z (7 months ago)
- Language: Python
- Homepage:
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
This is just a quick python app to visualize maze generation algorithms.
A maze is a grid (width and height are specified on the command line). Each
cell is represented as an (x, y) tuple, where (0, 0) is the top left. This
grid is stored as a graph; if two cells are adjacent in this graph, then
there is no wall between them.Algorithms can be added by writing functions in maze.generators. An
implementation of an algorithm should yield edges (pairs of (x,y)
coordinates) one-by-one. The function name automatically becomes one of the
allowed choices for the --algorithm command line switch.