Here’s what I attempted for this video’s challenge in integrating the for-loop into the main() function to encapsulate the GetGuessAndPrintBack() function. I also explored adding a statement that tells you how many guesses the player has left. Hope that is ok. 
Peace — Clarity — Inspiration — Receptivity