Minesweeper by twobit

w="."*18+open("../fd/0").read()
s=""
exec's+=[`(w[:3]+w[17:20]+w[34:37]).count("*")`,w[18]][w[18]<"."];w=w[1:];'*272
print s

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

download

return top