Tic Tac Toe by yamaya

END{h="\n---+---+---\n"
for($0="1|9|4"h"7|2|9"h"5|6|3\n";sub(++i,i%2?" X ":" O ");)print gensub(/[0-9]/,"   ","g")}

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

download

return to the top page