This week's lab is to design a hangman game. Your program should be able to open a text file which contains a list of words (one word on each line of the text file) and read the words into a list to contain all of the possible words.
If you don't know how to open and read a text file, then look at one of the online tutorials like here
http://effbot.org/zone/readline-performance.htm Then get the input from the user, etc. Finally, post the code here that you are not able to complete.
It seems like so many people come on to the forums requesting for home works assignments they have no idea on how to do
This seems to be this year's excuse to get someone else to do it for you. Last year it was "I Googled for hours and can't find the answer". Next year it will be something else.
Last edited by woooee; Oct 30th, 2009 at 12:57 am.
Reputation Points: 741
Solved Threads: 692
Nearly a Posting Maven
Offline 2,307 posts
since Dec 2006