Click the screen shot to play
I made this in a period of approximately 48 hours straight with minimal sleep. It was an exercise in learning how to use php + SMARTY templates in conjunction with JavaScript (and a little bit of Python to glue things together). That and I needed it to rock in order to get my current job >_>. All in all, it was a lot of fun.
The AI uses (if I can remember correctly) a variant of the Negamax algorithm to determining what move it should make. However, a side effect of this algorithm is that it current does not try to win. It only tries not to lose. This subtle distinction was pointed out to me by Justin Holland. Pretty interesting. Maybe next time, I'll make it win :>
