Hangman: Issue with Grading

Re: Re: Hangman: Issue with Grading

by Vasilis Daloukas -
Number of replies: 0
Picture of Particularly helpful Moodlers Picture of Plugin developers

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.