Skip to content

A simple maze generator using the recursive backtracking algorithm

License

Notifications You must be signed in to change notification settings

koaledu/mazegen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple maze generator using the recursive backtracking algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Zig 100.0%