[GAME] Reaction Time
REACTion time
How fast can you react?
Compete with people all over repl.it on the way to become the most nimble!
About
This was made -- unsurprisingly with react to test out just how hard it is to set it up (very hard) and also to test out what react.js can do. I've been mostly coding in Unity or p5.js, but I feel like it's time we focus on UI and maybe even mobile apps (hint hint switcheroo android app when)!
Process
This repl contains autogenerated code for maximum speed and less tears. If you would like to view the code and components, you are free to do so here. You will also be able to see the awesome repl.it component... (npm package soon!)
Building
It was built -- unsurprisingly -- with webpack and babel! I think they are really good to use and probably better than using gulp and react without ES6...
Inspiration
Human Benchmark. Need I say more?
Credits
- @willuhmjs for beta testing
- @meowcatheorange for beta testing
@elipie Implemented your keypress suggestion!
Known Bugs
- If you do it too fast, you may get this interesting score called 1604021441546 (or more). This is due to the fact that the browser rounds the time, so the number became 0, so Jan 1 1970 (time 0) - 0 = approx. 1604021441546.
- Your scores might not be uploaded... I don't know why, people haven't been giving me any logs of what their data looks like, but general advice is to clear your localstorage (this does delete all progress!)
Closing
I hope you are really quick! My low score is 371 milliseconds due to the nature of my computer. As quoted from human benchmark
While an average human reaction time may fall between 200-250ms, your computer could be adding 10-50ms on top. Some modern TVs add as much as 150ms!
I have way too many extensions...
Alright have a great day and send screenshots of your times! (Maybe OS and browser too :O)
Wait...........
HOW DOES THAT POSSIBLE
leaderboard?
uh
idk @Chocolate16
This file cannot be displayed:
I've been here since 6 mins after posting (or close to that)
WHAT THE HELL I MANAGED TO FLUKE IT TO 88ms
@firefish 43ms beat that
wow nice @realTronsi
@Coder100 oh its not on leaderboards did u take it down :(
@realTronsi no, the code doesn't allow scores less than 50ms
@firefish oh :(
First time I've found some code js so code I can't criticise it =)
yay 1ms totally not fake
pog working on keyboard press new version coming soon!
OHMYGOD (sad i forgot to save locally ;-;)
oof :((( @AgastyaSandhuja
:) Nice! @DishanBhattacha
gg bro big pro i just got by luck on a random click ;-; @DishanBhattacha
One thing: the play and home buttons are covering up some content. But really nice game overall!
Thanks!! Yeah, I'll have to make the buttons smaller, a new build is
going to come soon :) @hihitherethere
@Bookie0 There is a limit.
I literally put
The longest name ever invented. So, from what other people have done, this space has enough room to write an essay, unlike the 140 characters in the box below. How annoying can this get? I'm actually just waiting for there to be a little red error message, but I don't think there is. Wow, if this was my real name, the text on my passport photo page would have to be microscopic.
for the first name
hey cod...haha...its strange... but... WHY THIS ONLY HAVE 6 UPVOTES???!!!!
idk, some weird algo @Duvangamer3845
@Duvangamer3845 LOL I HAVE 599 CYCLES
@firefish false
@firefish ._.xd
@Duvangamer3845 xd ... bx
print(0/0)
I've been working on a python version of this for a while. It's hard on touchpad
@TommyVictory yeah, your device can really slow your times
I WAS THE ONE WHO GOT 1604021441546
F### YEAH
play the game and get this amazing anomaly also :) thanks
POG @MeowcaTheoRange
@MeowcaTheoRange posted 18 hours ago. That unix epoch millisecond timestamp was surprise surprise,

@firefish lol