function findWinner(playerChoice, computerChoice) {
  // Start with the easiest case
  if(playerChoice === computerChoice) {
    return false;
  }
  // We create a string as those in winningPairs, if the string is in then the player wins
  else if(winningPairs.includes(playerChoice + "/" + computerChoice)) {
    return playerName;
  }
  else {
    return "ordinateur";
  }
}
// this function compare the answers and return the winner
this function compare the answers and return the winner
this function compare the answers and return the winner
function findWinner(playerChoice, computerChoice) {
  if(playerChoice === computerChoice) {
    return false;
  }
  else if(winningPairs.includes(playerChoice + "/" + computerChoice)) {
    return playerName;
  }
  else {
    return "ordinateur";
  }
}
function findWinner ( playerChoice , computerChoice ) { if ( playerChoice === computerChoice ) { return false ; } else if ( winningPairs . includes ( playerChoice + "/" + computerChoice ) ) { return playerName ; } else { return "ordinateur" ; } }
this function compare the answers and return the winner
this function compare the answers and return the winner
// Start with the easiest case // We create a string as those in winningPairs, if the string is in then the player wins