tic tac toe by jbb(cheat)

$/x=2;s^-^!$a&"$`X$'"=~/(XX|(X..X|..X.|.{5}X..)..)X/s?$a=X:"-"^ge,$a=!print while<>

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

download

return to the top page