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])for(r[j]=i=0;i<8&&r[j+=[-1,2,31,-64,-1,2,62,2][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