Is it an interactive program using text only, or graphics are required? I assume the former.
If the player plays the computer, then you'd need to create an array of words to represent the dictionary from which you draw words. You will need a random choice of words which will show the empty skeleton. User will guess, and your program will check for validity and display the correct guesses.
I suggest you start with a pseudo-code, and actual coding if possible. You can submit the code and tell us what problems you are encountering.