Is it possible to create random words for games like hangman?
Printable View
Is it possible to create random words for games like hangman?
if what you are after is Real words like in hangman , then the best way is to create a "list " of words , and select one randomly
but if what you are after is creating
random words i.e a simple string of characters that doesnt have to
contain any significance than you can impliment a routine where :
first you pick a random number
second the number being in the range of the ascii code of characters
you add to a predefined string this the equivalent character from the ascii table
this a general idea ...
now if you are having any problems implementing the code , email me , i ll make it and send it to you ...
------------------
- regards -
- razzaj -