A multi tictactoe version
(c) Nils Lutz