High Score list

Godot Version

4.2.1

Question

I wish to create a system that has points associated with a name, like an arcade high score system. I thought of using something like a dictionary but it doesn’t really work, any ideas on how this could work?

high_scores[player_name] = score

note player_name is taken from a text input

make an UUID or just user ID, and reference the player and score with that UUID/UID