pub fn validate_player_name(raw: &str) -> Result<String, String>Expand description
The player-name rule set: trimmed, 1 to 9 ASCII letters. Returns the trimmed name, or the reason the input was refused.
ยงErrors
The three refusal reasons: missing, too long, non-letters.