The main function() sets the difficulty level for the player. I hope its correct but I now its related to difficulty level.
Hi There.
This is not exactly what the main function is for although it probably is what it is used for here. In any C or C++ application (even C# to a degree), main() is the first function that is called. This is where all applications start from.
I hope this helps.
Thanks!