u herded all the sheep!", true, false, true);
          }
          clearInterval(gameInterval);
          gameRunning = false;
          return;
        }

        timeLeft -= 1 / 60; // Decrement by 1/60th of a second (assuming 60fps)
        timerDisplay.textContent = Math.max(0, Math.ceil(timeLeft)); // Display time in whole seconds

        if (timeLeft <= 0) {
          // Game over
          clearInterval(gameInterval);
          showScreen("Game Over! Time ran out!", true, false, true);
          ga