Skip to content

Seperation and serialization of hardcoded data in main.py #3

Open
@morph8hprom

Description

Having all of the attributes for enemies, spells, etc specified in main.py is causing a large amount of clutter and would be much cleaner with all data stored in separate .json files and used to generate a database using dictionaries. However, this is just a suggestion and I'm sure there are other methods out there. The main issue is the hardcoded data which will be a pain to edit should someone decide to do so.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions