Skip to content

Hiscores support #1

@mattdowdell

Description

@mattdowdell
  • Store hiscores in ${XDG_CACHE_HOME}/invaders/hiscores.toml
    • Commented-out helper function in main.rs.
  • Game over should check if the score is in the top 5.
  • If score is in top 5, write new hiscores to file.
    • Bonus: Accept name of player for hiscore.
  • Hiscores should be loaded on start, added to the start screen, game screen, and game over screen.

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