8000 GitHub - kwyckmans/go-mazes: Implementation of the book mazes for programmers: https://pragprog.com/titles/jbmaze/mazes-for-programmers/ in go.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kwyckmans/go-mazes

Folders and files

NameName
Last commit message 8000
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maze generation in Go

Code I wrote while going through the book Mazes for Programmers: Code Your Own Twisty Little Passages. The algorithms and datastructures in the book are written in ruby. I chose to do the exercises in go.

Disclaimer: I have no significant previous experience with go besides some experimenting now and then. While I try to adhere to best practices, I have no doubt that I made plenty of mistakes. I'm also trying to balance writing good code with actualy finishing the book.

Set up

Executing

go run .

runs the hello.go demo script. This will output a generated maze on your terminal, and create a png file with the same maze.

Examples

maze generated with sidewinder algorithm

About

Implementation of the book mazes for programmers: https://pragprog.com/titles/jbmaze/mazes-for-programmers/ in go.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0