       gameOverScreen();
       // TODO high score should be checked against a set of high scores
       // in the EEPROM
-      if (isNewHighScore()) {
+      if (isNewHighScore() != NOT_NEW_HI_SCORE) {
         newHighScoreScreen();
         // TODO save high score
       }

#define DEBOUNCE_DELAY 100
#define MAX_LIVES 4
#define NUM_STARS 15
// TODO highScoreTable should be replaced with table in EEPROM
char *highScoreTable = "AAA000400BBB000300CCC000200DDD000100";


  arduboy.fillRect(68, 62, 10, 2, (pos == 2 ? 1 : 0));
}

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

void newHighScoreScreen() {
