I would have hoped that it uses CSS logic. Should be doable? I am not a CSS wizard (still look up things on the fly), but I think there are rules for "if class x is below class y in the hierarchy then..." and for selected and unselected links. Perhaps that is sufficient to create a much more compressed CSS only Tic Tac Toe?