Tic Tac Toe by kou

p=24604146,c[9],j;main(h){for(;p;)!j--?p/=j=9,c[p%9]=h^=3:printf(" %c %s"," OX"[c[j]],j%3?"|":j?"\n---+---+---\n":"\n\n");}

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

download

return to the top page