MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / alreadyGuessed

Method alreadyGuessed

Programs/Games/HangMan.java:74–82  ·  view source on GitHub ↗
(char letter)

Source from the content-addressed store, hash-verified

72 }
73
74 public boolean alreadyGuessed(char letter){
75 if(this.alphabets.indexOf(letter) == -1){
76 this.warning--;
77 return true;
78 }
79 else{
80 return false;
81 }
82 }
83
84 public boolean wordGuessed(){
85 for(int i = 0; i < this.guessedWord.length; i++){

Callers 1

playMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected