in reply to Re^3: (Golf) Tic Tac Toe
in thread (Golf) Tic Tac Toe

Printing flaw fixed, and to 119:
s//123 456 789 z147,258,369,159,357/;$p=O;{/z/;print$`,$p^=O^X;/(.)\1\1/?die$1:/\d/|| +die Tie;$?=<>until s/$?/$p/g;redo}

Replies are listed 'Best First'.
Re^5:
by Jasper (Chaplain) on Jun 17, 2004 at 16:22 UTC
    CORRECTION: I am stupid, after all.

    The OPs method of checking the verticals and diagonals was pretty clever.