   else {
     playWinningSequence();
   }
-  level = 1;
+ 
 }
- 
+
+// play the sequence till the level the user has reached 
 void playSequence(int level) {
   for (int i = 0; i < level; i++) {
     int ledNum = sequence[i];

  }
}

boolean inputFromUser(int level) {
  boolean wrong = false;
  int seqIndex = 0;

  Serial.begin(9600);
}

// generate a random seuqence
void generateSequence() {
  for (int i = 0; i < max_level; i++) {
    int randLed = random(0, 3);
