A Tic Tac Toe JavaScript. This has a 1 step look ahead - so you can beat it, but it does require some smarts on your part. It has the ability to be a 3x3 or up to a 10x10 - with a win set to be at least 3 in a row - or up to the number of the grid (a 10x10 can have it be a 10 in a row to win).