Added additional validation for player count and for player name length.