text: function guessingGame() {
      let myNum = Math.floor(Math.random()*100);
      let finished = false;
      let tries = 0;
      return function(guess) {
          if(!finished) {
              tries++;
              if(guess > myNum){
                  return `${guess} is too high!`
              } else if(guess < myNum){
                  return `${guess} is too low!`
              } else {
                  finished=true;
                  return `You win! You found ${myNum} in ${tries} guesses.`
              }
          } else {
              return "The game is over, you already won!"
          }
  
      }
  }
  
  module.exports = { guessingGame };
  