static void guess(String secret, int times) {
// read character from console
Scanner reader = new Scanner(System.in);
int secretLen = secret.length();
int timesCount = 0, index = 0;
...
Type: Posts; User: cloudMichael
static void guess(String secret, int times) {
// read character from console
Scanner reader = new Scanner(System.in);
int secretLen = secret.length();
int timesCount = 0, index = 0;
...