Computer Science Canada Help needed for my game hangman!!! |
Author: | MysticVegeta [ Sat Jan 15, 2005 9:08 am ] | ||
Post subject: | Help needed for my game hangman!!! | ||
Hi, I am making a hangman game for my isp and i need help with it. Like i did everything like made the dashes and other code but then theres this little problem after, how can i organise the array so that the space in the guessing word doesn't appear and you dont hab to fill that in. here's my code:
|
Author: | Tony [ Sat Jan 15, 2005 11:25 pm ] |
Post subject: | |
well since you're usually guessing a phrase, not a single word... (movie titles, etc) it might be a good idea to make each word to be guessed an array of its own (flexable arrays will make it really easy) |
Author: | MysticVegeta [ Sun Jan 16, 2005 9:40 am ] |
Post subject: | |
tony wrote: well since you're usually guessing a phrase, not a single word... (movie titles, etc) it might be a good idea to make each word to be guessed an array of its own (flexable arrays will make it really easy)
Thanks, i will try it, i knew i saw somewhere saw a tut for Flexible Arrays, i will search for it. If i am able to master it till the isp is due then i will use them otherwise i will just use .. "harrypotter" lol. Oh can you give me an example pls. |