Maze generator

using unicode line drawing characters

This script will generate mazes in plain unicode text, which can then be pasted on irc for example:

Why? Beats me, but it's still fun.

Potential problems (most can be fixed by trying a few other monospaced fonts)

┌───┬─────┬─────┬─────┬─────────┬───┐ 
├─┐ ╵ ┌─╴ │ ╶─┐ ╵ ┌─╴ │ ╷ ╶───┐ └─┐ │ 
│ └───┘ ┌─┴─┐ └───┤ ╷ │ ├───┐ ├─╴ ╵ │ 
│ ╶───┬─┘ ╶─┴───╴ │ └─┘ │ ╷ │ └───┐ │ 
├───┐ └─┬───────┐ ├─────┘ │ └───┐ │ │ 
│ ╷ ├─╴ │ ┌───╴ │ └─────╴ │ ┌───┘ │ │ 
├─┘ │ ╶─┘ │ ╶─┬─┤ ┌───────┼─┘ ┌───┘ │ 
│ ╶─┴─────┴─╴ │ ╵ │ ┌───┐ │ ╶─┤ ╶─┬─┤ 
│ ┌───────┬───┴───┘ │ ╶─┤ └─┐ ├─┐ ╵ │ 
│ └───╴ ╷ └───╴ ┌───┘ ╷ └─╴ ╵ │ └─╴ │ 
└───────┴───────┴─────┴───────┴─────┘ 
source