function gameWinner() {
    if (tries < turns) {
      console.log("Damn I lost :(")
    }
    else if (tries > turns) {
      console.log("Ha, I beat you :)")
    }
    else if (tries === turns) {
      console.log("Ah it looks to be a draw :|")
    }
    }
// this function runs to check who is the overall winner. tries = computers turns, turns = user turns
this function runs to check who is the overall winner.
this function runs to check who is the overall winner .
function gameWinner() {
    if (tries < turns) {
      console.log("Damn I lost :(")
    }
    else if (tries > turns) {
      console.log("Ha, I beat you :)")
    }
    else if (tries === turns) {
      console.log("Ah it looks to be a draw :|")
    }
    }
function gameWinner ( ) { if ( tries < turns ) { console . log ( "Damn I lost :(" ) } else if ( tries > turns ) { console . log ( "Ha, I beat you :)" ) } else if ( tries === turns ) { console . log ( "Ah it looks to be a draw :|" ) } }
this function runs to check who is the overall winner.
this function runs to check who is the overall winner .