kqtam 0 Newbie Poster

I'm interesting in this tic-tat-toe program too. Just wonder do you have any idea in the program logic so that the computer will never loose.
Thanks a lot!