Skip to content

Add countdown functionality - #45

Open
vqc1909a wants to merge 1 commit into
LadyKerr:mainfrom
vqc1909a:countdown
Open

vqc1909a wants to merge 1 commit into
LadyKerr:mainfrom
vqc1909a:countdown

Conversation

@vqc1909a

Copy link
Copy Markdown

This pull request adds a visible countdown timer to the game, allowing players to see how much time is left. The timer updates every second and is paused/resumed along with the game. The most important changes are grouped below.

Countdown Timer Feature:

  • Added a countdown display to the game UI in index.html to show the remaining game time.
  • Introduced a countdown timer in script.js that updates every second, synchronizes with game pause/resume, and is properly cleared when the game stops.

Closes #12

localhost_5500_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timer

1 participant