Maze generation: Difference between revisions
Content added Content deleted
Line 1,658: | Line 1,658: | ||
{ |
{ |
||
sbTop.Append(this[x, y].HasFlag(CellState.Top) ? "+---" : "+ "); |
sbTop.Append(this[x, y].HasFlag(CellState.Top) ? "+---" : "+ "); |
||
sbMid.Append(this[x, y].HasFlag(CellState.Left |
sbMid.Append(this[x, y].HasFlag(CellState.Left) ? "| " : " "); |
||
} |
} |
||
if (firstLine == string.Empty) |
if (firstLine == string.Empty) |
||
Line 1,682: | Line 1,682: | ||
<pre> |
<pre> |
||
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ |
||
| | | | | |
|||
+ +---+ +---+---+ +---+ + +---+---+ +---+ +---+---+ +---+---+ + |
+ +---+ +---+---+ +---+ + +---+---+ +---+ +---+---+ +---+---+ + |
||
| | | | | | | | | | | | |
| | | | | | | | | | | | |