Skip to content

theKlisha/uj-mazes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mazes

This repository is a university assignment

Example output

Description

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.

Instructions

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

About

A simple tool for generating random mazes

Topics

Resources

Stars

Watchers

Forks