RGB MATCH: timer and score
Sorting out a way to keep keep track of score:
Setting up the Timer:
At first I thought I’d use p5.js to do this:
piecing it all together…
Restarting the timer:
Hours later things seems to mostly be in order:
Something is glitchy about the timer after it restarts so I need to spend more time pinpointing what’s going on. Also I need to be able to pause the game/timer of the user visits the home screen. Or maybe quit the game? Any advice is appreciated.