Saturday, May 27, 2006

Found It

So I added a logging function to my test player and this is the output that causes the AI to loose that came out:
Record 1 (0,1)
Record 2 (1,1)
Record 3 (1,0)
Record 4 (1,2)
Record 5 (0,0)
Record 6 (2,0)
Record 7 (0,2)
Which looks like this (player is X, AI is O):

Image Hosted by ImageShack.us

As you can see the AI does not make a strong move on turn four and this poor decision results in the AI loosing.