Script for Hangman Game

Any ideas on whats the best way to form a hangman game via bash shell.