Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PrajaktaSathe/Java
/ setGuess
Method
setGuess
Programs/Games/HangMan.java:37–39 ·
view source on GitHub ↗
(String word)
Source
from the content-addressed store, hash-verified
35
}
36
37
public
void
setGuess(String word){
38
this.guesses = (
int
) (word.length()*1.5);
39
}
40
41
public
Boolean isInPick(char letter) {
42
return
this.compPick.indexOf(letter) != -1;
Callers
1
play
Method · 0.95
Calls
1
length
Method · 0.80
Tested by
no test coverage detected