Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 933 Bytes

README.md

File metadata and controls

42 lines (26 loc) · 933 Bytes

mazegen

A simple maze generator using the recursive backtracking algorithm.

mazegen is a simple implementation of the recursive backtracking algorithm and was made as a way of learning the zig programming language.

Dependencies

zig >= 0.10.0

libSDL2

Usage

$ zig build
$ ./zig-out/bin/mazegen
Generate awesome mazes with the recursive backtracking algorithm

Usage:
  ./zig-out/bin/mazegen <width> <height> <seed*>

Options:

  width:             usize integer
  height:            usize integer
  seed (*optional):  unsigned 64-bit integer  default = random

$ ./zig-out/bin/mazegen 10 10
$ ./zig-out/bin/mazegen 20 20 42

Contributing

Check out ISSUES.md for things to do and send a PR.

License

MIT