Directions of the star road by nn

for(r=[i=j=t=32];l=readline();i+=t-i%t)for([,r[i++]]in l);
for(o='';i-8;o+='|-/\\ '[i>>1],j=n)for(r[j]=i=0;i<8&&r[n=j+[t,-t,1,-1,31,-31,33,-33][i]]!='*';)i++
print(o)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page