This is non-beatable Tic-Tac-Toe A.I. at it's annoyingly useless best.
I'm starting on writing it now, I'll be done in a few minutes to an hour probably.
Edit: Due to slight rustyness with ZScript and an uncooperative ZC build this is going to take a few more hours.