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.066 seconds in which 0.028 seconds were spent on a total of 12 queries. Zlib compression enabled.