S
S
Stepan2020-10-03 23:09:04
Node.js
Stepan, 2020-10-03 23:09:04

How to make an online clicker?

How to implement an online clicker? Do not send a request to the server with each click ... For example, 1 player can click 10 times per second. And if there are 100? 1000 such players?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
Wasya UK, 2020-10-04
@Stepashka20

There is an option to put a counter on the first click, and detect the amount, for example, in 200ms, and then send it. Then update, and detect again. It turns out that we will be able to send all clicks, but for the server the load will not be large.

S
Sergey Gornostaev, 2020-10-04
@sergey-gornostaev

The whole point of clickers is to send a request to the server with each click.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question