Tic Tac Toe by croyal

def t(b,v,p){
B=b[0..p-1]+v+b[p+1..-1]
println B
return B}
b='   |   |   \n'
l='---+---+---\n'
t(t(t(t(t(t(t((b+l)*2+b,'X',1),'O',29),'X',57),'O',9),'X',49),'O',53),'X',25)

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

download

return to the top page