Live demo — guess the word! 6 wrong guesses and you're out.

Hangman