A game of hang man designed in java