Instead of naming every horse manually, you can generate and assign them dynamically. When a player joins, the game can automatically create a new horse object and store the player’s unique ID (like a username or playerID) as the horse’s owner. For example, each horse could have properties like {horseID, ownerID, stats}. When a player tries to ride a horse, the game simply checks if playerID == horse.ownerID. This way, you don’t need unique names or manual assignment; it’s fully automated and scalable for any number of players.