https://github.com/phoe/maze-generator
A simple maze generator for Common Lisp - exercise with comments in Polish.
https://github.com/phoe/maze-generator
Last synced: 4 months ago
JSON representation
A simple maze generator for Common Lisp - exercise with comments in Polish.
- Host: GitHub
- URL: https://github.com/phoe/maze-generator
- Owner: phoe
- License: apache-2.0
- Created: 2016-09-02T14:27:26.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-06T21:55:19.000Z (almost 9 years ago)
- Last Synced: 2025-02-24T04:27:16.432Z (over 1 year ago)
- Language: Common Lisp
- Size: 14.6 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# maze-generator
A simple maze generator for Common Lisp - exercise with comments in Polish.
See the raw version of this file for a better-looking example maze.
```
███████████████████████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████████████████████████████████████
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
██ ███ ███████ █ █████ ███████ █ █ █ ███████ ███ ███ █████ █████████ █████████ ███████ █ █████ █████ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
██ █ ███ █ █████ █████ █ █████████ █ █ █ █ ███ █ ███████ █ ███ ███ █████ █ █ ███ ███ █ █████ █ ███ █ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
██████ █████████ █ █████ ███ █████ █████ █ █ █ █ █ ███ █ ███ █ █████ █ █ ███ █████████ ███ █████ ██████
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
████████ █████ ███████ ███ █ ███ ███ █ ███████ █ ███ █ ███ █ █ ███ █ █ █████████ ███ █ █████ ███ ███ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
██ █████ █████ ███ █████ ███ ███████ ███ █ █ ███ █████ █████████ █ ███ █████ █ █ ███ █████ ███ █ ██████
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
██ █ █ █ █ █ ███████████ █ █ █ █ ███ █████ █ █ █ ███ █ ███ █ █ █ █ ███████ ███ ███ █████ █ █ ███ █ █ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
██ ███ █ █████ █ ███ █ ███ ███ █ ███ ███ █ ███████████ █ ███████ ███ ███ █████ █ ███ ███ █ ███████ █ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
██ █████ █████████████ █ ███████ █ █ ███ █ █ █ ███ █ █ ███████████ ███████████ █ ███ █████ █ ███ █ █ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
████ █ █ █ █ █ ███ ███ █ █ █ █ █ █ ███████ █████ ███████ █████ █████ █ █████ █ ███ ███ █ █████████ █ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
████ █████ █████████ █ █████ █████████████ ███████ ███ ███████ █████ █ ███ █ ███ ███ ███ ███ █████ ████
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
██ █ ███ █████ ███ █████ █ █ ███ ███ █ ███ ███ █ █ ███ █████ ███ █ █████ ███████ █████ █████████ ███ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
████ ███ █ ███ █ ███████ █ ███████ █ █ ███ █ █ ███ █ █████████ ███ █████ █████ ███ █ █ ███ █ █████ ████
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
████ █████ █████ █████ ███ █████ ███ █████████ █ █ ███ █ █ █ █████ █ █████ ███ █ ███ █ ███ ███ ███ █ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
████ ███ ███████ █ ███████ █████ █ █████████ █████ ███ █████ ███████ █ ███ ███████ █████ █ █ ██████████
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
██ █ ███ ███ ███████ ███ █ █ █ █████ ███ █ █ █ █████ █ █ ███████ █████ █ █ ███ █████████ █ █ ███ █ ████
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
██████ █ █ ███ ███ █████ █ █ █ █ █ ███████ █ █ █████ █ █████ █████████████ █████ █████ ███ █████ ███ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
██ █████ ███████ █ █ █ ███████████ █ ███ █ █ ███ ███ █ ███ █████████ ███ ███ █████████ █ ███ ███████ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
████████ █ █████████ ███████ ███ ███ █████ █ ███ ███ █ █████ █ ███ █ █ ███ ███ █████ ███████ █ █████ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
████ ███ ███ █████████ ███████ █████ ███████ █████ █ █ ███ █ ███ █ █ ███ █████████████ █ ███ █████ █ ██
██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ██
███████████████████████████████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████████████████████████████████████
```
To run: `sbcl --script maze-generator.lisp` Input two integers: height and width of the maze.