function gameSetUp() {
    clickSound();
    mainMenu.classList.remove("d-block");
    mainMenu.classList.add("d-none");
    setUpMenu.classList.remove("d-none");
    setUpMenu.classList.add("d-block");
    document.querySelectorAll(".modal-close").forEach(item => {
        item.addEventListener("click", event => {
            clickSound();
            setUpMenu.classList.remove("d-block");
            setUpMenu.classList.add("d-none");
            mainMenu.classList.remove("d-none");
            mainMenu.classList.add("d-block")
        });
    });
}
// This opens Level Set Up on clicking Play Button
This opens Level Set Up on clicking Play Button
This opens Level Set Up on clicking Play Button
function gameSetUp() {
    clickSound();
    mainMenu.classList.remove("d-block");
    mainMenu.classList.add("d-none");
    setUpMenu.classList.remove("d-none");
    setUpMenu.classList.add("d-block");
    document.querySelectorAll(".modal-close").forEach(item => {
        item.addEventListener("click", event => {
            clickSound();
            setUpMenu.classList.remove("d-block");
            setUpMenu.classList.add("d-none");
            mainMenu.classList.remove("d-none");
            mainMenu.classList.add("d-block")
        });
    });
}
function gameSetUp ( ) { clickSound ( ) ; mainMenu . classList . remove ( "d-block" ) ; mainMenu . classList . add ( "d-none" ) ; setUpMenu . classList . remove ( "d-none" ) ; setUpMenu . classList . add ( "d-block" ) ; document . querySelectorAll ( ".modal-close" ) . forEach ( item => { item . addEventListener ( "click" , event => { clickSound ( ) ; setUpMenu . classList . remove ( "d-block" ) ; setUpMenu . classList . add ( "d-none" ) ; mainMenu . classList . remove ( "d-none" ) ; mainMenu . classList . add ( "d-block" ) } ) ; } ) ; }
This opens Level Set Up on clicking Play Button
This opens Level Set Up on clicking Play Button