Michal, Unfortunately I can’t run the code because the moderation team deleted the content of this discussion. I didn’t save the code on my computer.
This will work since number of players is always 10 times the number of pure strategies (but the simulation doesn’t make sense). So in a way, this code samples only part of population but several times (random).
It would be actually interesting to see a full post about explaining everything step by step. Not in the notebook but in the body of the post. Maybe more people will get interested.
Michal, I have found some errors in the code. It has inconsistency. Nevertheless, I have highlighted my findings. They are in the attached nb file. It seems that the piece of code related to the generation of payoffs must be verified.
I have now official confirmation from Wolfram support that there is some problem with the interplay of RandomInteger[] and dynamic features. The code seems to work fine on Development Cloud. Also, I checked the results with published papers and other approximations done through differential equations. All results are consistent so the problem is not with core Mathematica but additional things like Dynamic[]. Thank you for the help. If I have any information I will share it.