Skip to content

localStorage highScores only storing one score after return to home #6

@rvidal

Description

@rvidal

In the file: end.js we add window.location.assign("/"); at the very end to send the player back to the home screen. When this happens and I play through again and save a score, it only keeps the latest score.

Somewhere the highScore localStore is being reset but I can't find it. Any help here?

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