I have since solved this problem and even released a KiX2k version of TicTacToe (I can't find it, but it's on this board somewhere)
cj
Generated in 0.059 seconds in which 0.024 seconds were spent on a total of 13 queries. Zlib compression enabled.