Hi,
try to place this routine after this message from the winner:
That's how I did the test.
Serial.print ("You Win !, press the switch indicated by the 7 segment to restart");
getting like this:
Serial.print ("You Win !, press the switch indicated by the 7 segment to restart");
for (index = 0; index <winner; index ++) {
gameArray [index] = (random (0, 4));
Serial.print ("");
Serial.print (gameArray [index]);
displaySymbol (gameArray [index]);
}
RV mineirin