tic tac toe by jbb

#!perl -p00
$p=!s^-^!$p&"$`X$'"=~/X(X|..(X|.+X.+)..)X/s?$p=X:"-"^ge

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

download

return to the top page