AxlLind / Strive

Infinite jumper mobile game created in Unity.
6 stars 1 forks source link

Using same name for high score overrides it #36

Closed AxlLind closed 7 years ago

AxlLind commented 7 years ago

Currently if you enter a high score with the same name as one that already exists you will override that score, meaning you can easily delete the top high score.

Currently the structure in fire base is:

and so on.

The new structure should maybe be:

With the id number maybe being random or based on the number currently in the DB?

Jontpan commented 7 years ago

Isn't this kinda what we want? it makes sense not to override in local high score but it does make sense to override in global

AxlLind commented 7 years ago

Well currently I can look at the top high score and simply copy that name of the number one and submit a really low score thereby deleting that high score from the list. Also there is no local high score as of now.

Since your name isn't "yours" per se anyone can just override your score

Jontpan commented 7 years ago

Oh, yeah. No that's bad.