O(n)->move ttt game