Skip to content

feat: randomly generate names for in-game account creation#69

Merged
jacobtread merged 1 commit intomasterfrom
feat-random-names
May 12, 2024
Merged

feat: randomly generate names for in-game account creation#69
jacobtread merged 1 commit intomasterfrom
feat-random-names

Conversation

@jacobtread
Copy link
Member

With the new updated games API that allows exposing the active games list the additional option for hiding the players list was added because the names in the player list may contain email addresses of users who signed up in the in-game account creator this is because the in-game account creator does not allow the user to provide a username.

After account creation users could already change their name using the dashboard however that may not be something someone will do if they wanted to just quickly play the game. (Accounts created through the dashboard or through Origin have usernames associated with them so there's no need for these to change)

This change uses a random collection of adjectives and nouns along with a randomly generated sequence of numbers to generate a random username for these accounts rather than relying on the email to pick the name.

Below is an example of a randomly generated name ("lowly-tendency-3799"):
image

@jacobtread jacobtread added the enhancement New feature or request label May 12, 2024
@jacobtread jacobtread self-assigned this May 12, 2024
@jacobtread jacobtread merged commit 762020e into master May 12, 2024
@jacobtread jacobtread deleted the feat-random-names branch May 12, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant