gameOver method

void gameOver()

Implementation

void gameOver() {
  isPlaying = false;
  dino.die();
  add(retry);
}