Merge branch 'master' of http://repo.or.cz/r/msysgit into devel
[msysgit/historical-msysgit.git] / share / vim / vim58 / macros / maze / maze.c
blobb917453114c0d94eed1daf4fbf5859e26258abb6
1 char*M,A,Z,E=40,J[40],T[40];main(C){for(*J=A=scanf(M="%d",&C);
2 -- E; J[ E] =T
3 [E ]= E) printf("._"); for(;(A-=Z=!Z) || (printf("\n|"
4 ) , A = 39 ,C --
5 ) ; Z || printf (M ))M[Z]=Z[A-(E =A[J-Z])&&!C
6 & A == T[ A]
7 |6<<27<rand()||!C&!Z?J[T[E]=T[A]]=E,J[T[A]=A-Z]=A,"_.":" |"];}