A simple hangman game using JS and JavaEE