News Score: Score the News, Sort the News, Rewrite the Headlines

Generating Mazes with Inductive Graphs

Blog Projects Talks About A few years ago—back in high school—I spent a little while writing programs to automatically generate mazes. It was a fun exercise and helped me come to grips with recursion: the first time I implemented it (in Java), I couldn’t get the recursive version to work properly so ended up using a while loop with an explicit stack! Making random mazes is actually a really good programming exercise: it’s relatively simple, produces cool pictures and does a good job of covering ...

Read more at jelv.is

© News Score  score the news, sort the news, rewrite the headlines