PLEASE HELP - with code on a boxing project using Force Sensor resitors

I have a sequence which which lights up leds these methods are ameture and playameture in my code. The arduino then waits for a response from the user by checking to see if any pressure has been applied to the fsr's (boxing pads). This works just fine but when it gets to the seventh sequence the sequence stops. Please forgive me if I have not explained this as well, any help would be much appriciated.

This is all done in the void loop

I have had to remove two methods which are right sequence and wrong sequence because there are too man characters

/*

This is box assits which has to game modes , ameture and beginner.

Ameture Level ::: the ameture level generates a random generted sequence and stores it
in the sequence array. The sequence array lights up the leds, and waits for a punch to be
detected. It then goes to the next level and adds 1 , then asks the users to repeat the
sequence

*/

//led variables
const int ledPins[] = { 12, 11, 10}; //array of Led pins
const int numOfPins = 4; //counter for the number of input/output pins used

//force sensor resistor pin connection
const int fsr1 = A1;
const int fsr2 = A2;
const int fsr3 = A3;

// fsr readings
int fsrReading1;
int fsrReading2;
int fsrReading3;

int level =1;// current level
const int maxLevel = 20;
int sequence[maxLevel];//array to store random generate ameture sequence

int velocity = 1500;
int punched[maxLevel];//used to check if the sequce you have punched is the same as displayed sequence

int trainingMode=0;// used to chose between ameture and beginner which the arduino is switch on , once.

int hit; //indicates if a punch is detected

void startBoxAssist();

void setup()
{
Serial.begin(9600);

for (int numOfPins1 = 0; numOfPins1 < numOfPins; numOfPins1++){
pinMode(ledPins[numOfPins1], OUTPUT);} // initialization of each pin in the array

Serial.println("Hello, your new random numbers have began");
randomSeed(millis());
startBoxAssist(); // indicates the start of box assisit
Serial.println("Please select a level");
Serial.println("");
Serial.println("");
Serial.println("PUNCH: Left for Begginer");
Serial.println("JAB: for Ametuer");

}

void loop()
{

playAmeture();//light the leds for ameture

for (int i = 0; i < level; i++)
{
hit = 0;//hit indicates if the sequence is correct

while(hit == 0)
{
readfsr();//read the fsr's

//checkes which pad (fsr) has been hit
if (fsrReading1 > 500)
{
digitalWrite(ledPins[2], HIGH);
punched *= ledPins[2]; *

  • hit = 1;*
  • delay(400);*
    if (punched != sequence*)*
    * {*
    * wrongSequence();// displays leds is you got it wrong*
    * return;*
    * }*
    * digitalWrite(ledPins[2], LOW);*
    * }*

* if (fsrReading2 > 500)*
* {*
* digitalWrite(ledPins[1], HIGH);*
_ punched = ledPins[1];
hit = 1;

* delay(400);_
if (punched _!= sequence)
{
wrongSequence();// displays leds is you got it wrong*

* return;
}
digitalWrite(ledPins[1], LOW);
}
if (fsrReading3 > 500)
{
digitalWrite(ledPins[0], HIGH);
punched = ledPins[0];
hit = 1;

delay(400);_

if (punched _!= sequence)
{
wrongSequence();// displays leds is you got it wrong*

* return;
}
digitalWrite(ledPins[0], LOW);
}
}
}
rightSequence();
level++; //go to the next level
Serial.print("level increased: ");
Serial.println(level);*_

* if (maxLevel < level)*
* {*
* winner();*

* Serial.println(level);*
* Serial.println(maxLevel);*
* }*

}
void startBoxAssist()// flashes leds to indicate the start
{
* for (int i=0;i<3;i++) //lights led from one end to the other*
* {*
_ digitalWrite(ledPins*, HIGH);
delay(100);
digitalWrite(ledPins, LOW);
delay(100);
}*_

* for (int i =3; i>=0;i--) // lights leds from one end to the other*
* {*
_ digitalWrite(ledPins*, HIGH);
delay(100);
digitalWrite(ledPins, LOW);
delay(100);
}
}
/

The the ameture level
/
void ameture()// generates a random sequence
{
for (int i=0; i < maxLevel; i++)
{
sequence = random(10, 13); // saves the random generated numbers between 10 and 13 in an array
Serial.println(sequence);
}
}
void playAmeture() // lights the current led
{
digitalWrite(ledPins[0], LOW);
digitalWrite(ledPins[1], LOW);
digitalWrite(ledPins[2], LOW);*_

* for (int i=0; i< level ; i++) //counter to light led if less than the level*
{
_ digitalWrite(sequence*, HIGH);// light the led*_

_ if (sequence == 12)
* {
Serial.println("punch left"); //print requested punch to serial monitor*

* }*_

_ else if(sequence ==11)
* {
Serial.println("jab"); //print requested punch to serial monitor*

* }*_

_ else if(sequence ==12)
* {
Serial.println("punch right"); //print requested punch to serial monitor*

* }*_

* else*
* {*
* Serial.println("No sequence available"); //prints if there is no number to display*
* }*
* delay(velocity);*
_ digitalWrite(sequence*, LOW);*_

* delay(200);*
* }*
* //turn of all leds*
* digitalWrite(ledPins[0], LOW);*
* digitalWrite(ledPins[1], LOW);*
* digitalWrite(ledPins[2], LOW);*
* Serial.println("gone through");*
}

Please read the forum rules and post your code using code tags. Also if you could try to describe your problem a little bit better that would be good too.