According to me, The main function sets the difficulty of the level. In detail :
It says while the current difficulty is less or equal to maxDifficulty, we will play at that difficulty and then increase it
Thanks
1 Like