Minesweeper by twobit

a=io.read"*a"print((a:gsub("()%.",function(i)s=""for j=i,i+34,17 do s=s..a:sub(j-18,j):sub(1,3)end _,c=s:gsub("%*",0)return c end)))

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

download

return to the top page