Tic-tac-toe checking

CBlair1986,

    Dang, I clicked "send" too soon. Ignore the part about testing for
a value of X after each increment. The only test for a win should be on
the current square (if player A has played in it) and should be for X -
1. So, in recap:

123
456
789

    For each row/column, if player A has played in this square (5):
        If the value of this square is X - 1, player A has a win.
        Otherwise, increment the next square (6) and the three adjacent
squares on the next row (7, 8, and 9).

    Sorry for any confusion.

    - Warren Brown