- Blind mode tutorial
lichess.org
Donate

How to pick a random player?

Hello, I'm trying to make a statistical research on lichess users, but apparently there's no way to pick random players (needed for it). Do you know any?

Hello, I'm trying to make a statistical research on lichess users, but apparently there's no way to pick random players (needed for it). Do you know any?

We all can get pretty random on occasion.

We all can get pretty random on occasion.

@MrPushwood said in #3:

We all can get pretty random on occasion.

Are you everywhere? xD

@MrPushwood said in #3: > We all can get pretty random on occasion. Are you everywhere? xD

@giancz91 said in #4:

Are you everywhere? xD
Yes. MrPushwood is an extremely active forum chatter.
He usually makes great jokes.

@giancz91 said in #4: > Are you everywhere? xD Yes. MrPushwood is an extremely active forum chatter. He usually makes great jokes.

I belive you could iterate trough all players in the api

I belive you could iterate trough all players in the api

Apparently to pick a random player is not possible, anyway I just found a very good resource for statistical analysis https://database.lichess.org/
It should be enough :)

Apparently to pick a random player is not possible, anyway I just found a very good resource for statistical analysis https://database.lichess.org/ It should be enough :)

@medieroed said in #6:

I belive you could iterate trough all players in the api

I looked into that, but I didn't found a way.

@medieroed said in #6: > I belive you could iterate trough all players in the api I looked into that, but I didn't found a way.

I suppose a manual and rather rudimentary way of doing this would be to use a random number generator to repeatedly generate values between 1 and 37 (corresponding to A-Z, 0-9, and _ ) and manually construct a username that way, typing it into the search bar on the main page until only a single username appears. (Whether this is statistically sound or not is another matter entirely--that depends on your generator, of course--and this would honestly be a pain to do if you have more than, say, 20 accounts to analyze, but it will probably work otherwise.)

I suppose a manual and rather rudimentary way of doing this would be to use a random number generator to repeatedly generate values between 1 and 37 (corresponding to A-Z, 0-9, and _ ) and manually construct a username that way, typing it into the search bar on the main page until only a single username appears. (Whether this is statistically sound or not is another matter entirely--that depends on your generator, of course--and this would honestly be a pain to do if you have more than, say, 20 accounts to analyze, but it will probably work otherwise.)

@Nel_S said in #9:

I suppose a manual and rather rudimentary way of doing this would be to use a random number generator to repeatedly generate values between 1 and 37 (corresponding to A-Z, 0-9, and _ ) and manually construct a username that way, typing it into the search bar on the main page until only a single username appears. (Whether this is statistically sound or not is another matter entirely--that depends on your generator, of course--and this would honestly be a pain to do if you have more than, say, 20 accounts to analyze, but it will probably work otherwise.)

This is unsound if you want a sample of chess users on Lichess because players who choose random sequences of letters and numbers for username might not be representative of chess players as a group. Crazy? Genius? Autistic?

@Nel_S said in #9: > I suppose a manual and rather rudimentary way of doing this would be to use a random number generator to repeatedly generate values between 1 and 37 (corresponding to A-Z, 0-9, and _ ) and manually construct a username that way, typing it into the search bar on the main page until only a single username appears. (Whether this is statistically sound or not is another matter entirely--that depends on your generator, of course--and this would honestly be a pain to do if you have more than, say, 20 accounts to analyze, but it will probably work otherwise.) This is unsound if you want a sample of chess users on Lichess because players who choose random sequences of letters and numbers for username might not be representative of chess players as a group. Crazy? Genius? Autistic?

This topic has been archived and can no longer be replied to.