async function start() {

  let gameChoice = await ask(`Welcome to GUESS THE NUMBER! \nThis is a game where either you (human), or I (computer), think of a number between 1 and 100, and the other one of us tries to guess it! \nIf the guesser guesses incorrectly, they are given a hint of whether the target number is higher, or lower, than their guess. \nIf you would like to be the guesser, please enter the command, "ME". \nIf you would like me (the computer) to be the guesser, please enter the command, "COMP".\n`)

  if (gameChoice == 'COMP') {

    startReg()


  } else if (gameChoice == "ME") {

    startReverse()


  }
}
//----------------------------------------- function to start game/choose which version to play -----------------------------------------// 
function to start game/choose which version to play
function to start game / choose which version to play
async function start() {
  let gameChoice = await ask(`Welcome to GUESS THE NUMBER! \nThis is a game where either you (human), or I (computer), think of a number between 1 and 100, and the other one of us tries to guess it! \nIf the guesser guesses incorrectly, they are given a hint of whether the target number is higher, or lower, than their guess. \nIf you would like to be the guesser, please enter the command, "ME". \nIf you would like me (the computer) to be the guesser, please enter the command, "COMP".\n`)
  if (gameChoice == 'COMP') {
    startReg()
  } else if (gameChoice == "ME") {
    startReverse()
  }
}
async function start ( ) { let gameChoice = await ask ( ` \n \n \n \n \n ` ) if ( gameChoice == 'COMP' ) { startReg ( ) } else if ( gameChoice == "ME" ) { startReverse ( ) } }
function to start game/choose which version to play
function to start game / choose which version to play