Tic Tac Toe
So it looks like I've made the world's ugliest tic-tac-toe. You'll have to pretend that 2 is the computer and 1 is you. 0 is a free spot that you can click on, if you haven't noticed. If you make the final move and it clears up the board, you'll get a blank page; I may fix that later. And here's the source code, if you're curious.
3x3
4x4
9x9
10x10
2
2
2
2
0
0
1
0
0
2
0
1
1
0
0
0
0
0
2
0
0
0
2
0
0
1
0
2
1
0
0
1
1
2
0
0
2
0
0
0
0
0
0
0
0
2
0
1
1
0
0
0
0
2
2
0
0
0
0
0
1
0
0
2
1
1
1
0
0
0
0
0
2
2
1
0
0
0
0
0
0
2
0
0
0
0
0
0
1
0
2
0
0
0
0
0
0
0
1
1
PS: This is hosted on a 40Mhz 486DX2. I wrote this whole code in a day, have barely tested it, and it's not optimized at all. It does between 13 and 1.2~ Tic Tac Toe calculations per second, depending on how large of a board you're using. Hopefully, it'll survive Reddit. Latency will be higher than you're probably used to, especially over IPv4, as I'm proxying to it over my main server, through IPv6 (which, ironically, is tunneled, itself). --Teran
Total hits since 2009-09-09T06:32Z: 1