Hangman game created in C++