[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)
(very hard)
wdym webpack is easy
@sugarfi no, I said setting it up
@Coder100 ik smh my head
smh smh i bet half the time you spend coding react is actually setting it up @sugarfi
@Coder100 nah
webpack is a bit harder to set up but it's not that hard
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
First time I've found some code js so code I can't criticise it =)
@elipie Implemented keypress!
pog working on keyboard press new version coming soon!
oof :((( @AgastyaSandhuja
:) Nice! @DishanBhattacha
gg bro big pro i just got by luck on a random click ;-; @DishanBhattacha
Thanks!! Yeah, I'll have to make the buttons smaller, a new build is
going to come soon :) @hihitherethere
@Bookie0 yay I pushed you off the leaderboard
great @firefish
@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
@Coder100 The first name can be SOOOOO long
@Bookie0 Well apparently the limit for (Both first name and last name) is 255.
great @firefish
hey cod...haha...its strange... but... WHY THIS ONLY HAVE 6 UPVOTES???!!!!
idk, some weird algo @Duvangamer3845
@Coder100 lol you have 8888 upvotes
@Duvangamer3845 LOL I HAVE 599 CYCLES
@Coder100 tenkyou
@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
@Coder100 do it for space (once I did a space clicking test and got 32ms between the spaces)
Oh wow ok I will @elipie
@Coder100 i trained on a game called parkour, its on roblox. Basic desc:
Explore this open world game by climbing buildings, getting levels and doing whatever you want.
Pretty underrated game if i do say so myself.
And really well made
done! Thanks :) @elipie
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