I had some trouble setting up the local lobby but finally got it to work today. I have attached a first quick script that collects very basic information. The imagined use-case would be to put it into `source/tools/XpartaMuPP` and execute something like:
python3 UserStats.py > userStats.dat
gnuplot -e "stats 'userStats.dat'; plot 'userStats.dat' with histeps title '# of Users'"
Assuming that you have gnuplot installed, this should give you a plot of a histrogram showing how many players have a given ELO.
I have noticed, that there is no information stored about when a given player has played his last rated game, so it is difficult to outrule accounts that have been there for a long time. I don't know if it would be worth the effort to store the date of a game, so that this could be done in future releases.
Also, it might be interesting to look at correlations between won games and the total score that are both stored in `games` and `players_info`, respectively, in the database. This might give interesting insight into how useful the score actually is from a statistical point of view. However, I have not yet found the time to write apropriate analysis scripts.
UserStats.py