This repository is a university assignment
A tool for generating random mazes using a modified Kruskal algorithm.
The program uses the graph data structure implemented in graph
crate.
The graph::Graph
type stores data in the form of adjacency matrix, type is generic, enables dynamic insertion of nodes and edges, and implements iterators.
The following instructions require the Rust toolchain.
To compile:
cargo build --release
To test:
cargo test
To run:
# debug with default maze size
cargo run
# to show help
cargo run -- --help
# release with custom maze size
cargo run --release -- -w 30 -h 5