what rules are there in tic tac toe code example
Example: tic tac toe
try to get to a position like
xoo
-x-
x--
then it won't matter what your opponent plays
try to get to a position like
xoo
-x-
x--
then it won't matter what your opponent plays