We are in the process of creating a web game where username is part of a user profile from the get go. This username will be visible to the user within the main game screen and also in the leader-boards and the profile page for everyone to view.
Since we don't want the username to either be truncated or continue in a second line, what is the optimal solution in regards to the minimum and maximum characters length?
Furthermore, what is the min/max characters for a password? Is there any reason to restrict the user from using as many as he wants?
Been thinking to be able to use alphanumeric characters, periods and underscores for usernames with min/max set to 4-12, but I don t know if there is a best common practice to follow here.
Thanks in advance for your help