Hi Jim, Ouch! That sounds like a lot of work. I tried my hand at a Hangman game myself a few years back and the more words you have the more difficult it is to program hints. The way I handled that problem of identifying the word as a person, place, or thing is simply by putting them in separate text files, having the game randomly select a category, and then a word from that category. That way if I needed a hint such as person, place, or thing it would know which file was being used by the game at that moment and could say the word is a "thing" because things.dat was currently being used.
Cheers! On 7/16/12, Jim Kitchen <[email protected]> wrote: > Hi Thomas, > > When I created my hangman game I started out with a text file that had 256 > thousand words. I wrote a little program that would read a word, I would > press a key if the word was not a person, place or thing and the correct key > to give that word the label for my game for person, place or thing if it > was. It took me like six months to go through that word list. I think that > my hangman game has a 13 thousand word list. It might be 17, but I think > that it is 13. > > BFN > > Jim > > IS THERE ANOTHER WORD FOR SYNONYM? > > [email protected] > http://www.kitchensinc.net > (440) 286-6920 > Chardon Ohio USA > --- > Gamers mailing list __ [email protected] > If you want to leave the list, send E-mail to > [email protected]. > You can make changes or update your subscription via the web, at > http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org. > All messages are archived and can be searched and read at > http://www.mail-archive.com/[email protected]. > If you have any questions or concerns regarding the management of the list, > please send E-mail to [email protected]. > --- Gamers mailing list __ [email protected] If you want to leave the list, send E-mail to [email protected]. You can make changes or update your subscription via the web, at http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org. All messages are archived and can be searched and read at http://www.mail-archive.com/[email protected]. If you have any questions or concerns regarding the management of the list, please send E-mail to [email protected].
