‘mazed

Friday, October 26, 2012

Maze generation has never been easier:

Math.random() < 0.5 ? "/" : "\\";

and you've got yourself a maze! Like all awesome ideas this one comes directly from the Commodore 64.

This was written by Mr Speaker. Posted on at 9:59 pm. Filed under Nerd. Bookmark the permalink. Follow comments here with the RSS feed. Trackbacks are closed, but you can post a comment.
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.