Skip to content

Initialise player with options #38

@richard-webb-dev

Description

@richard-webb-dev

Creating a player on the server side relies entirely on defaults and whether the Player.load() fails. This is fine for User.init() as this should be automated. But the player needs properties like name.

You could fix this using a config file parameter like game does, but its a little awkward. Mayyybe use **kwargs or *args, but I don't like the lack of explicitness. There aren't as many parameters, so a separate config might be unwarranted.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions