October 20, 2010

Toe Tac Tic

A hilarious game to play.

I was teaching Anthony how to program an AI using this jQuery Tic-Tac-Toe example, and he came up with the great idea of reversing the AI so that it tries to lose instead of trying to win.

Below we present: computer Toe-Tac-Tic. Try to avoid getting three in a row. Curiously difficult, and surprisingly entertaining.

Posted by David at October 20, 2010 10:25 PM
Comments

Cool! Thats pretty fun. There's a very easy strategy to always "lose" if you go first, but it took me a while to find it since it's so counter to the normal way of thinking about the game.

Posted by: Mike at October 20, 2010 11:51 PM

Very good!

I actually didn't realize there exists a "losing" strategy for player one until after your comment, Mike. It took us a while to find it, but Anthony figured out the losing strategy this morning over breakfast.

It is very counter to the normal way of playing.

Posted by: David at October 21, 2010 11:46 AM

It took me a while to find it too. :) It's such a simple game, but it's addictive! I felt that there had to be some "losing" strategy, so I experimented until I found one.

I'm a fellow Googler, by the way, in MTV.

Posted by: Mike at October 25, 2010 03:47 AM

I play first in the middle square, then play opposite the square the AI plays in. Like others, though, I didn't think of this at first.

Posted by: Rachel at October 30, 2010 08:05 PM

amazing!

Posted by: rafa morley at August 14, 2011 01:28 PM

Middle doesnt work com will set you up

Posted by: at November 4, 2011 09:34 AM

Sorry does work

Posted by: at November 4, 2011 09:39 AM

Try tic toe tac. It's impossible.

Posted by: at November 4, 2011 09:42 AM

Tic ToeTac! Please?

Posted by: Billyboblikescheese at December 13, 2011 09:07 AM
Post a comment









Remember personal info?