Skip to content

Conversation

@garimasingh22
Copy link

restart button: when clicked calls delay function and from there the whole process again starts(i.e. game starts again).
pause: when clicked pause start time is saved in (pstartTime) Variable.
play: when clicked pause end time is saved in(pendTime) Variable.
when shape is clicked this displays the reaction time by subtracting the duration it was paused for

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.

1 participant