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

          listeningToButtons = true;
          resetButtonLog();
        }
        else 
          gameOver = true;
       
      }
      timeLEDlastChanged = millis();
    }

   
      //PROCESS SEQUENCE  
      else 
      {  
        if (recString.charAt(0) == '9')
        {
          phoneUserLost = true;
          animationIndex = -1;
          displayResultAnimation = true;
        }
        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 = "";
    }
