 
 #define DEBOUNCE_DELAY 100
 #define MAX_LIVES 4
+#define NUM_HIGH_SCORES 3
 #define NUM_STARS 15
 #define NOT_NEW_HI_SCORE 5
 

//};

// TODO highScoreTable should be replaced with table in EEPROM
char *highScoreTable = "AAA000400BBB000300CCC000200DDD000100";

unsigned long inGameAButtonLastPress, inGameBButtonLastPress, inGameLastDeath, score;
byte livesRemaining = MAX_LIVES;

byte isNewHighScore() {
  char hiScore[7];
  hiScore[6] = '\0';
  for (byte i = 0; i < NUM_HIGH_SCORES; i++) {
    strncpy(hiScore, highScoreTable + ((9 * i) + 3), 6);
    if (score > strtol(hiScore, NULL, 10)) {
       return i;
