April 12, 2010Tutorial: Maze MakerThe tutorial maze-maker.html (view source) is an introduction to functions. It breaks down the work for drawing a random maze into five functions:
The program is begging to be extended by adding a maze solver. Maze-making and maze-solving is a good excuse for explaining recursion. Any ideas for a gentler (but interesting) introduction to functions? Posted by David at April 12, 2010 03:01 AMComments
That maze is dang hard Is there a pencil code version of this? Posted by: beg at September 12, 2014 07:32 AMPost a comment
|
Copyright 2010 © David Bau. All Rights Reserved. |