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

Method wordGuessed

Programs/Games/HangMan.java:84–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 }
83
84 public boolean wordGuessed(){
85 for(int i = 0; i < this.guessedWord.length; i++){
86 if(guessedWord[i] == '_'){
87 return false;
88 }
89 }
90 return true;
91 }
92
93 public void play() {
94 pickWord();

Callers 1

playMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected