Py Tic Tac Toe in action

Mike Peters o0__mike__0oREMOVE at THIShotmail.com
Fri Mar 19 05:42:13 EST 2004


On 2004-03-19, Premshree Pillai wrote:
> Hello folks,
>
> See the Py Tic Tac Toe in action at
> http://balajin.net/cgi-bin/pyttt.py
>
> -Premshree Pillai
>
Just one thing. It appears that the AI will always block even if a
winning move is present. 

eg O's move:

 |A|B|C
1|X|O|
2|X|X|O
3| |X|O

the AI, O, will play A3 to block X rather than C1 to win.
-- 
Mike Peters
mike [-AT-] ice2o [-DOT-] com
http://www.ice2o.com



More information about the Python-list mailing list