Hang-Man-Help
Author |
Message |
milz
|
Posted: Fri May 20, 2005 4:43 pm Post subject: Hang-Man-Help |
|
|
Aite here we goe... i have to make a stupid hangman program and i need HELP.......
aite all i need help is.. is with seperating the letter for ex lets say i do the following
var letter,word:string
get word
now lets say that i enter abcd for word
then i go
get letter
so for the letter thingie i have to get the letters individually right so how do i do that individually? please help thankx |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Cervantes
|
Posted: Fri May 20, 2005 4:56 pm Post subject: (No subject) |
|
|
If you're looking to get one letter at a time, use getch(). To search through your word to find where that letter is located, use index. Check the turing tutorials section for a tut on index. (there's a link in the Turing Walkthrough sticky) |
|
|
|
|
|
|
|