Skip to content

Moving to a database system #6

@HelpfulStranger999

Description

@HelpfulStranger999

Right now, the bot saves gamedata in json format to an absolute path on Simpathey. Filepaths aside, JSON is not the most scalable database system as a raw format, so you may want to switch to a lightweight database system like SQLite or LiteDB. Or would you rather learn and do that onstream?

On the point of filepaths, you could look into moving game data and maybe marble images and whatnot into a folder created in the user’s appdata. See this for the differences between roaming, local, and locallow. Alternatively, using Unity’s Application#persistentDataPath would keep it cross-platform.

Metadata

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