Here in part 2 I write most of the code, getting the program to where it can simulate one game. The AI is very dumb at this point, on purpose, so I could make sure the win and block conditions worked correctly. Part 3 will make it smart enough to produce all tie games, clean up the code, and do any debugging.
This isn’t a tutorial, so I’m not trying to teach C in it, though that’s something I may tackle at another time. It’s mainly a programming demonstration, to give those who might be interested in programming, or who have experience in other languages and have an interest in C, a chance to see what it’s like.
If you have any comments or questions, please comment at the video hosting site. I’d be glad to read and respond to them. Also, my apologies for the microphone crashing in the middle of it.