Now it works ok.
The percent is ($correct -$wrong/$max) / $len;
where: $correct is the number of correct letters in the word
$wrong: the number of wrong
$max: 6 (what is the max tries)
$len: how many letters has the word.
Now it works ok.
The percent is ($correct -$wrong/$max) / $len;
where: $correct is the number of correct letters in the word
$wrong: the number of wrong
$max: 6 (what is the max tries)
$len: how many letters has the word.