cale(1)";
        }, 150);
      });

      restartButton.addEventListener("click", () => {
        startGame();
      });

      nextLevelButton.addEventListener("click", () => {
        level++;
        saveProgress();
        startGame();
      });

      startScreenButton.addEventListener("click", () => {
        level = 1;
        saveProgress();
        showScreen("Shepherd's Dog", true, false, false);
      });

      // Start the game
      loadProgress();
      showScreen("Shepherd's Dog", true, fa