text: class Player {
    constructor(id, token, name) {
      this.id = id;
      this.token = token;
      this.name = name;
      this.wins = [];
  
    }
    saveWinsToStorage() {
      var stringifiedWins = JSON.stringify(this.wins);
      localStorage.setItem(`${this.id}Wins`, stringifiedWins);
    }
    deleteWinsFromStorage() {
      localStorage.removeItem(`${this.id}Wins`);
    }
    updateLocallyStoredWins() {
        this.deleteWinsFromStorage();
        this.saveWinsToStorage();
    }
  };
  