Variations on a maze

From Maze

(Difference between revisions)
Jump to: navigation, search
Line 26:Line 26:
10 PRINT CHR$(108+(INT(RND(1)+.5)*3)); : GOTO 10
10 PRINT CHR$(108+(INT(RND(1)+.5)*3)); : GOTO 10
 +
[[Image:10print-elbows.png|200px]]
 +
As it turns out, diagonal mazes are symbolically efficient on a Cartesian grid due to the fact that four characters meet at the corners, whereas only two meet along an edge. Thus, intersections of up to four lines (the building blocks of a rectilinear maze) can be created at corners if we use diagonal lines.
As it turns out, diagonal mazes are symbolically efficient on a Cartesian grid due to the fact that four characters meet at the corners, whereas only two meet along an edge. Thus, intersections of up to four lines (the building blocks of a rectilinear maze) can be created at corners if we use diagonal lines.

Revision as of 23:17, 28 July 2010

View this revision of Variations on a maze.

Personal tools