Tic Tac Toe by yamaya

t="1|9|407|2|905|6|3\n"for i=1,7 do
t=t:gsub(0,"\n---+---+---\n"):gsub(i,i%2<1 and" O "or" X ")print((t:gsub("%d","   ")))end

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

download

return to the top page