function end(){
  getDataFromStorage();
  endGame();
  getHighScores();
  buildHeader();
  //This loop will add top players - specified by global variable
  for(var i = 0; i < numHighScoreDisplayed; i++){
    addRow(i);
  }
}
//This function contains all the functions that will end game
This function contains all the functions that will end game
This function contains all the functions that will end game
function end(){
  getDataFromStorage();
  endGame();
  getHighScores();
  buildHeader();
  for(var i = 0; i < numHighScoreDisplayed; i++){
    addRow(i);
  }
}
function end ( ) { getDataFromStorage ( ) ; endGame ( ) ; getHighScores ( ) ; buildHeader ( ) ; for ( var i = 0 ; i < numHighScoreDisplayed ; i ++ ) { addRow ( i ) ; } }
This function contains all the functions that will end game
This function contains all the functions that will end game
//This loop will add top players - specified by global variable