Well, I just finished my tic tac toe game. It took a lot more lines then I thought it would (1290) but I'm glad I did it. As far as I can tell the AI is unbeatable. If you play it and manage to win please send me a PM and tell me how you did it.
I wrote this in C using Dev-C++. It should be readable by just about anyone. The only thing is I wish I knew how to get rid of the million ifs I have. If you look through code and can give me some tips I would appreciate it. Thanks to everyone who helped me out.