function checkMaxGuess() {
    if (nGuesses == maxGuesses) {
        showFinalResult(nGuesses, false);
        return true;
    } else {
        return false;
    }
}
/* Check if maximum guesses allowed reached. End game if yes.
 * ------------------------------------------------------------------------- */
Check if maximum guesses allowed reached. End game if yes.
Check if maximum guesses allowed reached . End game if yes .
function checkMaxGuess() {
    if (nGuesses == maxGuesses) {
        showFinalResult(nGuesses, false);
        return true;
    } else {
        return false;
    }
}
function checkMaxGuess ( ) { if ( nGuesses == maxGuesses ) { showFinalResult ( nGuesses , false ) ; return true ; } else { return false ; } }
Check if maximum guesses allowed reached.
Check if maximum guesses allowed reached .