Tic Tac Toe

Published by Arun Isaac on

Tags: c, project, software

Sudhakar and I did the coding at the end of our first semester in college (actually, during our semester examinations!). We just wanted to kick start our entry into AI programming and thought teaching the computer to play tic tac toe might be a good start. We may do far greater things, but this is the first proper project we did and hence we are obviously proud of it!

Tic Tac Toe - Screenshot

Figure 1: Tic Tac Toe - Screenshot

This is a tic tac toe application written in C. The interface is not what you might call great, nor is there anything overly innovative in the gameplay. But the highlight is the AI which has been tuned and fine tuned, and is now finally unbeatable (hopefully!).

Sudhakar (my friend and classmate) and I did the coding at the end of our first semester in college (actually, during our semester examinations!). We just wanted to kick start our entry into AI programming and thought teaching the computer to play tic tac toe might be a good start. We may do far greater things, but this is the first proper project (with exact documentation and good coding style) we did and hence we are obviously proud of it!

We learnt a lot about efficient practical coding while doing this, and obviously enjoyed every moment of it…! Hope you enjoy as much playing it!

You are of course free to edit the source or improve it in any way. Just remember to give credit where it is due. :-)

Downloads