I'm trying to compare the character that the user enters to the randomly generated word to see if it matches or not...
what can i use to compare them?

```
    if (playerChoice.equals(g.originalWord.charAt(7))) { //
        g.revealHiddenLetter(); 
    }       
    else  {
        System.out.println(g.guessThisWord);
        guesses--;// if player is wrong they lose a guess
        System.out.println("Guesses Left: " + guesses);
    }

```