level 0  -- computer is totally dumb.
level 1  -- computer is smarter.
level 2  -- you may win if you start.
level 3  -- computer will never lose.

 

 

Or click tic-tac-toe

Additional information