Open johneastman opened 1 year ago
When playing Quick Draw, update the score with the stopwatch.
running
Stopwatch
score
updateScore
isStopwatchRunning
App
isGameOver
Score
StopWatch
When playing Quick Draw, update the score with the stopwatch.
Implementation Plan
running
a props inStopwatch
componentscore
toStopwatch
propsupdateScore
toStopwatch
props.isStopwatchRunning
boolean toApp
component state (or maybe useisGameOver
?)Score
orStopWatch
based on current game mode.Stopwatch
component and use props for starting and stopping stopwatch.