Hey guys,
basically i have an assignment for school which is tro produce a game of hangman. I dont have to use all the buttons etc etc, it is just tobe extremely simple.
I have stored 10 words in a txt file and have got the program to read the txt file and randomly select a word from that list of 10 and display how many characters there are in that word.
This is where im stuck! Now i need to split the randomly selected word into individual characters, so when the user guesses a letter they can either be right or wrong dependant on whether it is in the word.
The user has 6 lives (6 attempts) to guess the word!
Id extremely appreciate it if someone could help me or even finish it? it only has to be so so simple!!
Thanks guys remember it is an ever so simple program!!
Ben
basically i have an assignment for school which is tro produce a game of hangman. I dont have to use all the buttons etc etc, it is just tobe extremely simple.
I have stored 10 words in a txt file and have got the program to read the txt file and randomly select a word from that list of 10 and display how many characters there are in that word.
This is where im stuck! Now i need to split the randomly selected word into individual characters, so when the user guesses a letter they can either be right or wrong dependant on whether it is in the word.
The user has 6 lives (6 attempts) to guess the word!
Id extremely appreciate it if someone could help me or even finish it? it only has to be so so simple!!
Thanks guys remember it is an ever so simple program!!
Ben