Skip to content

chriswilding/mazes-for-programmers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mazes for Programmers

Mazes for Programmers is a book written by Jamis Buck and published by The Pragmatic Bookshelve.

The alogrithms and implementations in the book are all written in Ruby. This repository contains my implementation written in Go.

Prerequisites

  1. Go 1.17

Setup

$ git clone [email protected]:ChrisWilding/mazes-for-programmers.git
$ cd ./mazes-for-programmers
$ go build

Usage

$ ./mazes-for-programmers -w 10 -h 10 -a sidewinder -o sidewinder.png

This is an example of a maze generated using the binary tree algorithm

A maze generated using the binary tree alorithm

This is an example of a maze generated using the sidewinder algorithm

A maze generated using the sidewinder alorithm

Testing

$ go test ./...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages