maze

maze

maze.c - John Tromp (tromp@piring.cwi.nl)

char*M,A,Z,E=40,J[40],T[40];main(C){for(*J=A=scanf(M="%d",&C);
--            E;             J[              E]             =T
[E   ]=  E)   printf("._");  for(;(A-=Z=!Z)  ||  (printf("\n|"
)    ,   A    =              39              ,C             --
)    ;   Z    ||    printf   (M   ))M[Z]=Z[A-(E   =A[J-Z])&&!C
&    A   ==             T[                                  A]
|6<<27

Source: https://ascii.co.uk/art/maze

More ASCII Art Like This

dragonsmaze
dragonsmaze
i tried to find its body
flowing in the sea
i elegantly fell right in
now it wants to find me!
dragonsmaze
dragonsmaze
   _______________________________                               .  ,
 < QUIZ TIME: THE DRAGON LABYRINTH >                            .(\/),
      ,-=-.       ,-=-.       ,-=-.       ,-=-.       ,-=-....
dragonsmaze
dragonsmaze
Quiz Time

find the dragon's body
mark it from the sea
make it flow elegantly
oh gee, isn't it easy?
maze
maze
\                           /
 \                         /
  \                       /
   ]                     [    ,'|
   ]                     [   /  |
   ]___               ___[ ,'   |
   ]  ]\   ...
maze
maze
From: stock@fwi.uva.nl (Lennert Stock)
[This next one is the view from inside a maze.]

  \ \_\ .----------.     /
   \   (  ||    ||  )   /..
|\  \   ~-||====||-~_  ///\\
| \  \    ||    || // /((())...
maze
maze
88888888888888888888888888888888888888888888888888888888888888888888888
88.._|      | `-.  | `.  -_-_ _-_  _-  _- -_ -  .'|   |.'|     |  _..88
88   `-.._  |    |`!  |`.  -_ -__ -_ _- _-_-  .'  |.;'  ...
mazes
mazes
       ,-----.
       |Start|
       `--+--'
          |
          |
          V
         +-+               +-+         +-+         +-+         +-+   +-+
         | |->             | |->       | |->  ...
mazes
mazes
.--.--.--.--.--.--.--.  .--.--.--.--.--.--.--.
|                    |        |     |     |  |
:  :--:  :--:--:--:--:  :--:  :  :  :  :  :  :
|     |     |              |     |     |  |  |
:--:  :--:  ...
mazes
mazes
,-----------.-----------.--------------------.-----------.-----------------.  
|           |           |                    |           |                 |  
|  ,-----   |  ,-----.  |  .  ,-----------...