Hangman is a game between two players where one of them is an executioner and the other a victim. The executioner makes up a word that is hidden and the victim guesses the hidden word by letters. If the letter does not appear in the hidden word, part of the gallows is drawn. The victim wins if they guess the entire word before the entire gallows is drawn.
In our case, you will always be the victim guessing random words that appear in front of you. Depending on the difficulty level you set, you will receive a small hint of a word that you have to guess using the letters. If you guess the word correctly, you will receive a reward. If you don't, you will die. So be careful :)