Max player username lenght is 10

This commit is contained in:
2026-06-19 18:33:51 +02:00
parent 13009ac6ac
commit 89043c8393
8 changed files with 38 additions and 41 deletions
@@ -20,7 +20,7 @@ public class Player implements Serializable {
/**
* The maximum length allowed for the username string.
*/
private static final int MAX_USERNAME_LENGTH = 32;
private static final int MAX_USERNAME_LENGTH = 10;
/**
* Identifier for the {@code Player} when displaying the game through the GUI.