debugfest / debugfest/memory-game

Implement game timer with best time tracking

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue hacktoberfest
Dominant language
TypeScript
Stars
0
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Add a visual timer that tracks game duration and saves best completion times to enhance competitive gameplay.

**Feature Requirements:**
- [ ] Real-time timer display (MM:SS format)
- [ ] Timer starts on first card flip
- [ ] Timer stops when game is completed
- [ ] Best time tracking per grid size
- [ ] Best time persistence using localStorage
- [ ] Timer reset on new game
- [ ] Pause/resume functionality (optional)

**UI Elements:**
- Timer display in header/top section
- Best time indicator
- "New Best Time!" celebration message
- Timer formatting: `02:34` or `1:23:45` for longer games

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.