Basic Hangman script This is a script to be run in browser console to simulate hangman game How to run: Open console in browser. Paste this script into console. Pass the word in the console like: some_variable = Hangman('shubh') Start guessing the word using: some_variable('s')