Tic Tac Tie

I can’t remember if I mentioned it or not, but I’ve been going through FreeCodeCamp’s curriculum as well.  I just finished a JavaScript Tic Tac Tie (because the AI should never lose, only win or tie) game.   And since it’s a game, I thought I’d post it here.  Give it a try!

TicTacTieThis turned out to be a far more interesting challenge than what I had first imagined.  If you’d like to learn more than you ever cared to know about Tic Tac Toe, I’d recommend these links:



I didn’t use the Minimax algorithm for my game.  (Hahaha, and… maybe that would’ve been easier in the long run!)  However, my computer opponent should be good enough to never lose.

(But if you beat him, please let me know.  Because then the game shouldn’t be named Tic Tac Tie!!!)


Leave a comment

Filed under Game Development

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s