I have this code in my playGame() which I call from `main`. The code below increments when either player, X / O, either wins or ties, but when I play my full game a second time, I loose my previous score.

Can someone suggest a more efficient way to store the scores? 

Desired result: when game is played again, previous score should be kept and incremented if same player with a previous score wins or both ties.

retain previous score, increment if req, --- 

```
    //score start at zero.
   int Xwins = 0;
   int Owins = 0;
   int tie = 0;

   if(wins == 'X')
   {
      Xwins++;  //increments Xwins if player X wins
   }
   else if(wins == 'O')
   {
      Owins++;  //increments Owins if player O wins
   }
   else if(NOWIN)
   {
      tie++;   //increments tie if no player wins
   }

```

result when Xwins

X | O | tie
-----------

1 | 0 | 0

play again;
result when Xwins again --- should be 2 not 1 ---- my issue

X | O | tie
-----------

1 | 0 | 0