Skip to content
/ mazes Public

Maze generation, path finding and visualisation programmed in Rust.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

enerqi/mazes

Repository files navigation

mazes

Fun with the Rust programming language - maze generation, path finding and visualisation with SDL.

Linux Build Status Windows build status codecov.io

Wilson Maze

Build Requirements

  • Install Rust 1.56+ (Rust 2021 edition).

On unix/posix family systems install the C libraries:

  • libsdl2-dev >= 2.1.4
  • libsdl2-ttf-dev
  • libsdl2-image-dev

On windows and unix/posix install the tool:

  • gcc

GCC is probably already installed on posix! For windows see e.g. mingw-w64 or mingw-w64 chocolatey.

Run It

Use the mazes driver executable to try out the mazes library. The commandline interface is built with docopt.

cargo run -- --help

# Examples
cargo run -- render recursive-backtracker image --grid-width=140 --grid-height=80 --mark-start-end --colour-distances --show-path
cargo run -- render wilson text image --text-out="maze.text" --grid-size=40

About

Maze generation, path finding and visualisation programmed in Rust.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages