Skip to content
← Back to Community
[GAME] Reaction Time
Profile icon
h
has Hacker Plan
Coder100

REACTion time

How fast can you react?

image

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

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)

Voters
Profile icon
christopherm766
Profile icon
assual
Profile icon
Spotandjake
Profile icon
Wilke000
Profile icon
parkerslv
Profile icon
coder400
Profile icon
forceofyoda
Profile icon
Scarlett_Morris
Profile icon
chillcafe
Profile icon
TheOceanFace
Comments
hotnewtop
Profile icon
MeowcaTheoRange

I WAS THE ONE WHO GOT 1604021441546

F### YEAH

play the game and get this amazing anomaly also :) thanks

Profile icon
Coder100
Profile icon
firefish

@MeowcaTheoRange posted 18 hours ago. That unix epoch millisecond timestamp was surprise surprise,
image

Profile icon
Coder100
Profile icon
Chocolate16

Wait...........

601C6FC9-B20E-4F0A-9290-FFAD01978680 HOW DOES THAT POSSIBLE
leaderboard?

Profile icon
Coder100
Profile icon
the_cool_dood

Screenshot 2020-11-17 at 3.35.41 PM

Profile icon
the_cool_dood

This file cannot be displayed:

Profile icon
TheDrone7

image

Profile icon
Coder100
Profile icon
[deleted]

(very hard)

wdym webpack is easy

Profile icon
Coder100

@sugarfi no, I said setting it up

Profile icon
[deleted]

@Coder100 ik smh my head

Profile icon
Coder100

smh smh i bet half the time you spend coding react is actually setting it up @sugarfi

Profile icon
[deleted]

@Coder100 nah
webpack is a bit harder to set up but it's not that hard

Profile icon
mesquite2234

I've been here since 6 mins after posting (or close to that)

Profile icon
firefish

WHAT THE HELL I MANAGED TO FLUKE IT TO 88ms

Profile icon
realTronsi

@firefish 43ms beat that

Profile icon
Coder100

wow nice @realTronsi

Profile icon
realTronsi

@Coder100 oh its not on leaderboards did u take it down :(

Profile icon
firefish

@realTronsi no, the code doesn't allow scores less than 50ms

Profile icon
realTronsi

@firefish oh :(

Profile icon
firefish

First time I've found some code js so code I can't criticise it =)

Profile icon
firefish

yay 1ms totally not fake
image

Profile icon
Coder100

@elipie Implemented keypress!

Profile icon
Coder100

pog working on keyboard press new version coming soon!

Profile icon
AgastyaSandhuja

imageOHMYGOD (sad i forgot to save locally ;-;)

Profile icon
Coder100
Profile icon
DishanBhattacha

@AgastyaSandhuja
Screenshot (44)

:)

Profile icon
Coder100
Profile icon
AgastyaSandhuja

gg bro big pro i just got by luck on a random click ;-; @DishanBhattacha

Profile icon
hihitherethere

Screenshot 2020-10-30 at 9.20.56 AM One thing: the play and home buttons are covering up some content. But really nice game overall!

Profile icon
Coder100

Thanks!! Yeah, I'll have to make the buttons smaller, a new build is
going to come soon :) @hihitherethere

Profile icon
Bookie0

POG

Profile icon
Coder100
Profile icon
Bookie0
Profile icon
firefish
Profile icon
Bookie0
Profile icon
firefish

@Bookie0 yay I pushed you off the leaderboard

Profile icon
Bookie0
Profile icon
firefish

@Bookie0 There is a limit.
image
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

Profile icon
Coder100
Profile icon
firefish

@Coder100 The first name can be SOOOOO long

Profile icon
Bookie0
Profile icon
firefish

@Bookie0 Well apparently the limit for (Both first name and last name) is 255.

Profile icon
Bookie0
Profile icon
Duvangamer3845

hey cod...haha...its strange... but... WHY THIS ONLY HAVE 6 UPVOTES???!!!!

Profile icon
Coder100

idk, some weird algo @Duvangamer3845

Profile icon
firefish

@Coder100 lol you have 8888 upvotes

Profile icon
Duvangamer3845
Profile icon
firefish

@Duvangamer3845 LOL I HAVE 599 CYCLES

Profile icon
Coder100
Profile icon
Duvangamer3845

@firefish false

Profile icon
firefish

@Coder100 tenkyou

Profile icon
Duvangamer3845

@firefish ._.xd

Profile icon
firefish

@Duvangamer3845 xd ... bx

Profile icon
Duvangamer3845

@firefish

print(0/0)
Profile icon
mesquite2234

I've been working on a python version of this for a while. It's hard on touchpad

Profile icon
Coder100

@TommyVictory yeah, your device can really slow your times

Profile icon
elipie

@Coder100 do it for space (once I did a space clicking test and got 32ms between the spaces)

Profile icon
Coder100

Oh wow ok I will @elipie

Profile icon
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

Profile icon
Coder100

done! Thanks :) @elipie