Open NadavTarago opened 5 years ago
I did it by chosing random range of ms, create the function getRandomInt
.
I did it by converting the nodeList into array, create the function getRandomInt
.
Now the code chose random card in the array by its length.
Randomization of waiting time (sleeping time) -
Randomization of list element selection -
Skip each x element. x should be randomized, between 2 - 7 (2 means one added :** Not implied yet - every few elements should be ignored. (Don't send connection request).
as in each iteration those skipped one would be added again - should find a way to avoid the re-adding.