word guessing game

need help with this task :)

Make the game " word guessing " .
Prepare an array with at least 20 words.
Starting off with the occasional help of a generator is selected one of the words .
Font numbers reflect the corresponding point " . " , And the number of successful guess the place shall be replaced by the letter ( in several places where the letters are more) .
Letter input take place without the "Enter " button .
On the wrong letter a 1 penalty point .
Play continues until a player or collect 10 penalty points , or will not be given until the letter instead of "0".
After each player to guess the word burn up 5 penalty points , if any, he has ( should not be a negative number of points !). And offered to the next name (names not be repeated !).
After the end of ducted guess the word count. Or if a card had guessed all words :)
What do you need help with?
i need to figure out how to replace every element in string with the same symbol in this case just dot " . " cause now it kind a replaces every element with just one dot for whole group :)
ok i think i figured out that far :)
LOL @ these third-world/community college 'do my homework for me' questions!
don't be jealous, everyone starts somewhere :p
Topic archived. No new replies allowed.