dist/js/main.js
// functions that save, load and delete the game
functions that save, load and delete the game
functions that save load and delete the game
function saveTheGame() {
    localStorage.setItem('boxGameSave', JSON.stringify(gameData));
    alert('Game saved!');
}
function saveTheGame ( ) { localStorage . setItem ( 'boxGameSave' , JSON . stringify ( gameData ) ) ; alert ( 'Game saved!' ) ; }
functions that save, load and delete the game
functions that save load and delete the game
// TO-DO: turn this into an alert or toast