       creatingSequence = false;
       listeningToButtons = false;
     }
-  }
-
-  if (gameOver)
-  {
-    Serial.println("Game Over");
-    gameOver = false;
   }
   
 

   
      //PROCESS SEQUENCE  
      else 
      {      
        for (int i = 0; i < recString.length(); i ++)
        {
          seqArr[i] = recString.charAt(i) - '0';
        } 
       
        seqIndex = 0;
        seqLength = recString.length();
        displayingSequence = true;
        //erase as much of the button log as required to enter the correct sequence
        resetButtonLog();
      }
      recString = "";
    }

          listeningToButtons = true;
          resetButtonLog();
        }
        else
        { 
          if (!phoneUserLost)
            Serial.println(9);

          displayResultAnimation = false;
          playerWasCorrect = true;
          
        }
      }
      timeLEDlastChanged = millis();
    }
