Computer Science Canada

Tic Tac Toe with AI, based on SDL

Author:  Barbarrosa [ Thu Dec 17, 2009 5:28 am ]
Post subject:  Tic Tac Toe with AI, based on SDL

I made a Tic Tac Toe game with integrated AI, using SDL libraries. Here are the files I made it with.

I hope everyone enjoys it.

Just install the SDL libraries or include SDL libs in app directory, compile using these makefiles (generated by Eclipse), and run.

If you have any comments or questions, they are welcome.

Edit:

I can't believe I never noticed that before. I changed one function call at the top level, and the efficiency skyrocketed.

SDL_PollEvent() to SDL_WaitEvent().


: