Variations on a tic-tac-toe