func: function updateReward(address _addr) private
      {
          Player storage p = players[_addr];
          
          if ( 
              games[p.currentRound].ended == true &&
              p.lastRound < p.currentRound
              ) {
              p.reward = SafeMath.add(p.reward, calculateReward(_addr, p.currentRound));
              p.lastRound = p.currentRound;
          }
      }