First sloppy but working version
Tiny improvements
Transform all code to use tabs instead of spaces
Add visual effects to ..

Distinguish distant vs close walls
Add wall blocks outlines