Ok, i found my way to do it :
On start of layout, I check if the key exists, if not I create it
I use a global variable to know the game type
Then, I load the local storage in my array
And when the player wins, I write the new score in the array, and then I set it to the Local Storage