doResults(hDice, gDice) {
    console.log('Do we get here? What is hDice?', hDice, 'What is gDice?', gDice);
    const result = doScore.evalResults(hDice, gDice, this.state.coins.pot);
    console.log('What were the results?', result);
    console.log('What is hLoot before state change?', this.state.coins.halflingLoot);
    const newHalflingVal = this.state.coins.halflingLoot += result;
    const newGiantVal = this.state.coins.giantHoard -= result;

    if (result > -1) {
      this.setState(st => ({
        coins: {
          ...st.coins,
          giantHoard: newGiantVal,
          halfLingLoot: newHalflingVal,
          pot: 0,
        },
        locked: Array(NUM_DICE).fill(false),
        giantLock: Array(G_DICE).fill(false)
      }));
    } else {
      this.setState(st => ({
        coins: {
          ...st.coins,
          giantHoard: st.coins.giantHoard += st.coins.pot,
          pot: 0,
        },
        locked: Array(NUM_DICE).fill(false),
        giantLock: Array(G_DICE).fill(false)
      }));
    }

    if (this.state.coins.halflingLoot <= 0) {
      this.lossModal();
    } else {
      this.wagerModal();
    }

    return result;
  }
/**
   * Takes in rolls and determines increase or decrease in coins depending
   * on rules and payout ratios.
   * @param {int} giantDie        value of Giant's roll
   * @param {int} halflingDice    sum of Halflings rolls
   * => calculated result value.
   */
Takes in rolls and determines increase or decrease in coins depending
on rules and payout ratios.
@param {int} giantDie        value of Giant's roll
@param {int} halflingDice    sum of Halflings rolls
=> calculated result value.
Takes in rolls and determines increase or decrease in coins depending on rules and payout ratios . @param { int } giantDie value of Giant ' s roll @param { int } halflingDice sum of Halflings rolls = > calculated result value .
doResults(hDice, gDice) {
    console.log('Do we get here? What is hDice?', hDice, 'What is gDice?', gDice);
    const result = doScore.evalResults(hDice, gDice, this.state.coins.pot);
    console.log('What were the results?', result);
    console.log('What is hLoot before state change?', this.state.coins.halflingLoot);
    const newHalflingVal = this.state.coins.halflingLoot += result;
    const newGiantVal = this.state.coins.giantHoard -= result;
    if (result > -1) {
      this.setState(st => ({
        coins: {
          ...st.coins,
          giantHoard: newGiantVal,
          halfLingLoot: newHalflingVal,
          pot: 0,
        },
        locked: Array(NUM_DICE).fill(false),
        giantLock: Array(G_DICE).fill(false)
      }));
    } else {
      this.setState(st => ({
        coins: {
          ...st.coins,
          giantHoard: st.coins.giantHoard += st.coins.pot,
          pot: 0,
        },
        locked: Array(NUM_DICE).fill(false),
        giantLock: Array(G_DICE).fill(false)
      }));
    }
    if (this.state.coins.halflingLoot <= 0) {
      this.lossModal();
    } else {
      this.wagerModal();
    }
    return result;
  }
doResults ( hDice , gDice ) { console . log ( 'Do we get here? What is hDice?' , hDice , 'What is gDice?' , gDice ) ; const result = doScore . evalResults ( hDice , gDice , this . state . coins . pot ) ; console . log ( 'What were the results?' , result ) ; console . log ( 'What is hLoot before state change?' , this . state . coins . halflingLoot ) ; const newHalflingVal = this . state . coins . halflingLoot += result ; const newGiantVal = this . state . coins . giantHoard -= result ; if ( result > - 1 ) { this . setState ( st => ( { coins : { ... st . coins , giantHoard : newGiantVal , halfLingLoot : newHalflingVal , pot : 0 , } , locked : Array ( NUM_DICE ) . fill ( false ) , giantLock : Array ( G_DICE ) . fill ( false ) } ) ) ; } else { this . setState ( st => ( { coins : { ... st . coins , giantHoard : st . coins . giantHoard += st . coins . pot , pot : 0 , } , locked : Array ( NUM_DICE ) . fill ( false ) , giantLock : Array ( G_DICE ) . fill ( false ) } ) ) ; } if ( this . state . coins . halflingLoot <= 0 ) { this . lossModal ( ) ; } else { this . wagerModal ( ) ; } return result ; }
Takes in rolls and determines increase or decrease in coins depending
 on rules and payout ratios.
Takes in rolls and determines increase or decrease in coins depending on rules and payout ratios .