Explore a dozen algorithms for generating these puzzles randomly, from Binary Tree to Eller’s, each copiously illustrated and accompanied by working implementations in Ruby.
Mazes for Programmers
edited by Jacquelyn Carter @jkcarter
A book on mazes? Seriously? Yes! Because it’s fun. Remember when programming used to be fun?
Explore a dozen algorithms for generating these puzzles randomly, from Binary Tree to Eller’s, each copiously illustrated and accompanied by working implementations in Ruby. Understand their pros and cons, and how to choose the right one for the job. You’ll start by learning six maze algorithms and seeing how Dijkstra’s algorithm can help solve, analyze, and visualize mazes. Constrain your mazes to different shapes and outlines, such as text, circles, hex, and triangle grids. Cull dead-ends and make your passages weave over and under each other. Build your mazes in multiple dimensions, and even on curved surfaces.
Through it all, you’ll discover yourself brimming with ideas, the best medicine for programmer’s block, burnout, and the grayest of days.
"Mazes for Programmers_ perfectly recaptures that feeling of pure, unadulterated awesomeness for awesomeness’s sake. This will be a book I come back to again and again."
–Corey Haines, CTO, Curious Nation
- Full details: https://pragprog.com/book/jbmaze/mazes-for-programmers
- View this book’s portal and details on how to post errata and suggestions here.
Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout