make the profile with the picture ( avatar ) and the texts to show the wins and loses.
then test if the the value exists in the local storage , if it is the first time played , get the photo from the player , using the file chooser or using the user-media save the image URL to and another value for how much played , another value for how much wins , you don't need another value for loses because loses = played - wins.
if the value exists already , just add the 1 to wins and 1 to played or don't add to wins if he lost.