Search
Showing posts tagged Mazes.

Mazes For Programmers part 9, some statistics, and combining the Aldous-Broder and Wilson's algorithms
Having coded up two more complex algorithms, I analysed them to see how they compared, and then combined the two in an attempt (failed) to produce a hybrid algorithm that was faster than either of its parents.

Mazes For Programmers part 4, implementing the first two algorithms
Part 4 in my ongoing series of how I implemented the code from Mazes For Programmers by Jamis Buck in C#.
In this post, I explain how I implemented the first two maze-generation algorithms in C#, and show how parts of the code were improved by using Linq.

Mazes For Programmers part 3, graphical UI
Part 3 in my ongoing series of how I implemented the code from Mazes For Programmers by Jamis Buck in C#.
The author rendered the mazes in graphical form using a Ruby library that allows you to create PNG images. This requires you to run the code, then open the saved image, then remember to close it before running the code again, otherwise you get a "File access denied" error, all of which seemed like hard work. As I work with WPF on a day-to-day basis, I decided to use that to render my mazes, as it was quicker and easier.
This post shows how I did it.

Mazes For Programmers part 2, some basics
Part 2 in my ongoing series of how I implemented the code from Mazes For Programmers by Jamis Buck in C#.
In this post, I show a couple of the places where my basic code deviated from the author's.

Mazes For Programmers part 1, introduction
Part 1 in my ongoing series of how I implemented the code from Mazes For Programmers by Jamis Buck in C#.
In this post, I waffle on about the book, why I decided to implement the code in C# rather than Ruby, and generally spend a fair bit of time not saying much. Pretty regular blog post for me!