Just a basic form of pseudo code…just added some extra lines to make the code a little more clear to read and to follow. Feel free to correct me if I’m wrong at any point.
//welcome message
//start by getting hidden word
//include lives
//show number of lives
//prompt for guess
//checking input guess
//check for isogram
//check for number of charcaters
// if guess correct then win
//if guess wrong loose life
//check for 0 lives
//if 0 then show word and print fail
//if more than 0
//show no. of lives left
//prompt to guess
//prompt to play again
//if yes then game plays again
//if no then quit the game.