Minesweeper by ush (2hrs)

char*p;main(i,B){for(read(0,p=B,271);*p;++p)for(*p+=*p%8/3,i=8;i--;)*p+=p["\x01\x10\x11\x12\xff\xf0\xef\xee"[i]]==42&*p>47;puts(B);}

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

download

return to the top page