|
-
Jun 18th, 2001, 08:35 PM
#1
Thread Starter
Addicted Member
A Hangman Game
I wanna make a hangman game
I want each letter to be a comand and when they are clicked sand not the letter of the words I am trying to figure out they disappear. Then Every incorrect letter a piece of a man getting hung will appear on the right side of the screen maybe in its own frame. As for the words how do I make it so I can have any random words? Do i make the words up?
Please Help!
-
Jun 18th, 2001, 08:40 PM
#2
Make it easy on yourself, and make the user put in the words =).
Store them in a file, load the file, and pick a random word. Or, you could convert every document someone has typed up on your computer, put them into text files, and write a VB program to load every word from those files into an array, compare the array, and dump every word into another file for use with your program.
Z.
-
Jun 19th, 2001, 04:41 PM
#3
transcendental analytic
Originally posted by Zaei
Or, you could convert every document someone has typed up on your computer, put them into text files, and write a VB program to load every word from those files into an array, compare the array, and dump every word into another file for use with your program.
Z.
What kind of documents do you expect everyone has? Think of words you wouldn't like to have appearing in your hangman game or worse, the author of the documents to have when someone else is playing hangman
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 20th, 2001, 05:39 PM
#4
kedaman is right. Some people have CONFIDENTIAL stuff that shouldnt be in a hangman game. And what are we doing, trying to recreate MS Find Fast(.......slow.................Z....Z......Z...)???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|