Skip to content
Sign upLog in
← Back to Community

Spacebar Counter

Profile icon

Working on a spacebar counter that rewards the user with brief messages at milestones.
Like, at 10 taps, the player might get a message like "You're doing great, keep going!" or whatever.
I've finished the actual coding portion, but I can't think of anything for the messages, so...crowdsourcing time.

The messages can be pretty much anything, as long as they don't violate Replit's ToS in some way.

Please submit messages in JSON format:

{"content": ["Foo", "Bar", "Baz"], "delay": [0, 5, 10]} // please put your JSON within a code block like this so that it's easier for me to see other submissions (if there are any lol)

"content" is the message, while "delay" is the amount of taps required before the user views the content.
So, the user would see "Foo" immediately, then, after 5 taps, "Bar", then after another 5, "Baz".

Users can only see 4 messages at any time (kinda like Universal Paperclips' console), so don't do stuff like "Hey dude remember what I typed 33 messages ago? No? Hah that sux"

Also, remember that the user can't actually give any input (other than pressing the spacebar, I guess...), so don't ask for text input or something. Same thing applies to the messages themselves: just plain text.

No HTML. If I see something along the lines of

<script>alert("ur computer is have virus");</script>

...I'm gonna lose it.

Another thing: try to go for 200 chars max (each message, not total).
These are small statements of encouragement, not W3's JS documentation.

Other than the stuff above, everything is accepted.
You could even copy and paste the Bee Movie script (one line at a time, of course), for all I care.


I'll upload a hyperlink to the site soon.

Edit: Here it is!

Answered by MrVoo [earned 5 cycles]
View Answer
Profile icon
{"content": ["Hello!", "Click click...", "Click click click....","So, how's your day?", "...good?","Why do you click?","Is it fun?","Does something happen if you stop?","What did the spacebar say to the PC?","Click. Get it??", "N..not funny?", "Okay :(", "You don't say much, do you?", "Hey, ever heard of MrVoo?", "He's cool, but he smells like a cat...", "I wonder why?", "Click click click click...", "Is this all you do?", "Go play outside :/", "Please?", "CLICK CLICK CLICK CLICK CLICK....", "So, what's free will like?", "Assuming you have it of course...", "I'm bored", "Would be kind of you to get to 1000...", "Heh, nice", "Monkey see, monkey click", "eeeeEEEE","I wonder what this big red button does?","*boom*"], "delay": [0, 10, 20, 30, 40, 50, 75, 100, 125, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 800,900,1000,1100,1200,1300,1400,1500,1505]}
Profile icon

Nice! Thank you.

Profile icon

Thanks for sharing! I used it to create something similar spacebar clicker that counts spacebar hits for a client's project. I am looking to add a way to store scores of users and save the data to show daily high scores. Can anyone help me with that?

Profile icon

Cookies are suitable for local scores, but you'd need a dynamic server (e.g. Node) to process POST/GET requests and store values. I'd help, but I suck at HTTP.

Profile icon

The spacebar counter is such a good tool. It helps me enhance the spacebar button speed. I broke the record to hit 19 times spacebar in just 1 second.