Press space to stop the timer when the screen turns green. Then, press space again to perform another test. Make sure not to press space too early, because that'll stop the whole project and you can't see your average! ======================================== You need to complete five tests before an average can be calculated. ======================================== World record time and averages are shown on the results screen. Do you have the fastest reaction time out of all of the Scratchers? ======================================== Here's some comparable statistics regarding reaction time. FASTEST RECORDED TIME: 0.101 secs AVERAGE PROFESSIONAL SPRINTER: 0.210 secs USAIN BOLT: 0.165 secs NOAH LYLES: 0.178 secs A CAT: 0.045 secs FRUIT FLIES: 0.005 secs A CHEETAH: 0.020 secs ME: 0.256 secs
Code took me 3 minutes and 17 seconds. Not actually, but it was pretty easy :) ======================================== I mostly made this project for me so that I could get my reaction time lower for Track and Field events (because I'm a sprinter)