Skip to content

KevLgl/pendu

Repository files navigation

The hanged man's game

When arriving on the page, the user has an random word, wich generates itself

The user propose differents letters until he find out what was the word. The word is encrypt, and every time the user find a letter which is in the word, the letter display in the word.

But be carefull, When over 7 mistakes, if the user made 7 mistake and did not find out the word, then it's game over

If the user make less than 7 mistakes and find out the entire word, then it's a win.