KO
|
EN
gitlite — search
Search
#python
#claude
#mcp
#ai
#macos
#ai-agents
#llm
#rust
#mcp-server
#desktop-app
#model-context-protocol
#react
maze
★ 66
Open GitHub ↗
Simple maze generator in Python
Download README (.md)
Explore Similar Repositories
MazeCruncher
:
A cool, fast maze generator and solver written in Rust
maize
:
Random maze generator and solver
labmaze
:
A standalone release of DeepMind Lab's maze generator with Python bindings.
MazeGenerator
:
A collection of algorithms for generating mazes
amaze
:
A program to create, solve and draw mazes in your terminal or in 2D/3D
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
maze
?
Download (.md)
Maze ==== Simple maze generator in Python. Can be used as a library to generate and modify mazes, or run from the command line to play as a game. When using as a game, the goal is to move `@`, using the arrow keys, to the goal `$`. Usage: - `python maze.py` (uses default size of 20x10) - `python maze.py 40 15` (specify size 40x15) - `python maze.py 20` (square maze 20x20) Example (don't worry, the lines look solid on the command line): python maze.py 18 12 ┌───┬───────────────┬───────────────────┬───────────────────┬───────────┐ │ │ │ │ │ │ │ │ ┌───┐ ╷ │ ┌───┐ ╷ ┌───┘ ┌───────┐ ╷ └───╴ ╷ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ╵ │ │ ├───┘ │ │ │ ╵ ┌───┘ ╷ ╵ ├───────┬───┘ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ┌───┘ │ ╵ ┌───┤ └───┴───────┤ ┌───┴───────┤ ╷ ╵ ╶───┤ │ │ │ │ │ │ │ │ │ │ │ └───╴ └───┬───┘ ├───┬───────╴ │ │ ╶───┐ ├───┴───┬───┐ │ │ │ │ @ │ │ │ │ │ │ │ │ ├───────┬───┐ ╵ ╷ ╵ │ ┌───────┘ ├───╴ │ ╵ ╷ │ ╵ │ │ │ │ │ │ │ │ │ │ │ │ │ ╷ ╵ ├───────┘ ┌───┘ │ ╶───────┘ ┌───┴───────┤ └───────┤ │ │ │ │ │ │ │ │ │ └───┐ │ ┌───────┤ ╶───┴───────────────┤ ┌───╴ │ ╶───┐ │ │ │ │ │ │ │ │ │ │ │ ├───╴ │ │ └───╴ └───────┬───┬───────╴ │ │ ╶───┴───┬───┘ │ │ │ │ │ │ │ │ │ │ │ ┌───┘ ├───────┬───┬───╴ │ │ ╶───┬───┘ └───────┐ ╵ ╷ │ │ │ │ │ │ │ │ │ $ │ │ │ │ └───┐ ╵ ╷ ╵ │ ╶───┘ ├───┐ └───┐ ╶───┐ └───┬───┤ │ │ │ │ │ │ │ │ │ │ │ │ │ ╷ └───────┴───────┴───────╴ ╵ └───┐ └───────┴───╴ │ ╵ │ │ │ │ │ │ └───┴───────────────────────────────────────┴───────────────────┴───────┘