rename local variable from l_NumberOfPlayer to tmpNumberOfPlayer ->
Sonar
remove MAGIC numbers -> Sonar
remove empty else statement -> Sonar
Sonar Bugfixing