What I think the main function does

First, values are attributed to the variables “difficulty” and “maxDifficulty”.
Second, we get into a while loop, which will keep looping until “difficulty” is higher than “maxDifficulty”
After that it seems that we insert an argument into a parameter in order to start playing a t a certain difficulty. After that, I don’t know

Privacy & Terms