amaze

Crates.ioamaze
lib.rsamaze
version0.1.1
created_at2025-01-05 16:29:44.564844+00
updated_at2025-01-05 16:30:32.8089+00
descriptionA maze generator
homepagehttps://github.com/sunsided/amaze-rs
repositoryhttps://github.com/sunsided/amaze-rs
max_upload_size
id1504902
size62,025
Markus Mayer (sunsided)

documentation

README

A maze generator

A playground for maze generation.

Example Usage

GUI

Example GUI usage (default style, seed, and size):

just show-gui

This shows the GUI depicted above.

CLI

Example CLI usage (default style, seed, and size):

just show-example

Example output:

╷╶───┬╴┌─┬╴┌─┐┌┐
└───┐├┐│╷└─┴╴└┘│
╶─┬┐│╵└┤├┐┌───┐│
┌─┘╵└─┐└┘│└┐┌┐└┤
└─┐┌──┘╶┬┘┌┤╵└─┘
┌┐│└───┐│┌┘│┌──┐
│└┘┌┐┌┐││└┐╵│┌┐│
├──┘└┘└┘└┐└─┘│││
└┐╷┌─┬┐┌┐└┐┌─┘└┤
╷│└┘┌┘└┘│┌┘│┌┐╶┘
│└─┐└─┐╶┘│┌┘││┌┐
├┬┐└─┐│┌─┘└─┘├┘│
│││┌┐│││┌┐╷┌┐│┌┘
││╵│└┘└┴┘└┤││╵└┐
│└┐└┐┌───┐╵│└──┤
└╴└─┴┘╶──┴─┘╶──┘

Alternatively, you can generate a PPM image using:

just show-example-ppm
Commit count: 31

cargo fmt