Sign in to follow this  

My very first game... tic tac toe with unbeatable AI

This topic is 3671 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey people, I just finished writing my first real computer game. It's a simple tic tac toe written in C++ that uses SDL for graphics. It's probably poorly written in a million different ways, especially the AI (the program has 1900 something lines of code in total, 1100-1200 of them make up the AI...). The AI basically goes through a list of priorities (win, block player from winning, etc), whose implementations are largely brute forced. Anyway, if you want to try the game, you can download the source + a linux binary here: http://itscode.org/triple-t.tar.gz I'm hoping to get some feedback on my design choices if any of you more experienced developers decide to take your time to look through my evil hacked-to-bits code, as well as suggestions on what to make next! Cheers

Share this post


Link to post
Share on other sites
Sign in to follow this