home *** CD-ROM | disk | FTP | other *** search
/ Más de 2,500 Juegos / CD1.iso / ZIPDAT / 0588 / 0588.ZIP / Howiwork.TX_ / Howiwork.TX
Encoding:
Text File  |  1998-12-16  |  5.4 KB  |  61 lines

  1.                     Dr. Mysto
  2.  
  3. This program is a sort of an Artificial Intelligence/ mindreader/ game/?. Basically, it is the old Twenty Questions Game, coupled with a binary addition section, and some Graphics thrown in. However it does have the ability to modify itself and become smarter by using all of the input it receives. The Info is sorted and rearranged in a logical, useful format that is then added to the 'BRAIN'.
  4.  
  5. I offer Dr. Mysto as Freeware and encourage all Visual Basic programmers to use and modify it in any way they care to. Maybe a sound routine or improved graphics or even a new 'BRAIN'. It could be a Geography lesson. (Where in the world is?). Or perhaps an Automobile trouble finding guide. (Answer these questions and find out why your car won't start). The possibilities are endless.
  6.  
  7. I have included all the files and information that I thought necessary. The MAK file has notations on almost every line and I tried to use variable names that describe their function. 
  8. I have also made an effort to keep the code as simple as possible, but this is my first VB programming effort and my style may not be the best for VB. I originally wrote this for the Commodore 64 a few years ago.
  9.  
  10. As I said please feel free to modify and redistribute this program. Please put your name and stuff at the end of this document below my name, with a brief description of your modification. 
  11. I would like to think that I am throwing a note in a bottle into the ocean, maybe it will come back to me some day as a real nifty program with 20 or 30 names on it. I will be looking....
  12.  
  13.  
  14.                     How It Works
  15.  
  16. Print a copy of the file "Word.brn" and follow along with the logic below. Each question is assigned a binary number based on how many Yes and No answer it receives. Y=1:N=0
  17.  
  18. Example:  I am thinking of the word "SNOOPY"
  19.     (The first digit is always 1 , so the first Y response adds another 1 = 11 or 3 decimal.)
  20.  
  21.      Question    Dr. Mysto                User          Binary             Go to
  22.      Number         Asks                 response        Number            Question #
  23.     1         "Is it Animal?"             Y             11               =    3
  24.     3         "Is it Mammal"              Y             111         =    7
  25.     7         "Is it Human"               N             1110         =    14
  26.     14        "..Hoofs..."                N             11100         =    28
  27.     28        "..Dog or Cat..."           Y            111001        =    57
  28.     57        "...Dog Family.."            Y             1110011       =    115
  29.     115       "..Special Dog..."          Y             11100111      =    231
  30.     231       "Cartoon Dog.."             Y             111001111     =    463
  31.     463       "SNOOPY"                    Y             I am right again!!!
  32.     
  33. As you can see, a Y or 1 in the first place on LEFT indicates Animal.
  34.  1 in columns  2 = Mammal.  0 = Other animal types.
  35.  1 in column   3 = Human.   0 = Non human.
  36.  1 in column   4 = Female.  0 = Male.
  37.  1 in column   5 =  in the arts or sciences.
  38. etc.     
  39.  
  40. I also included files called Xtra.brn for those who want to start their own database from scratch. You can load NewBrain.brn if you want to start your own category. Since these are text files, they can be read and edited outside of Dr. Mysto. You can correct the spelling and logic from a word processor or text editor if you are very careful. 
  41.  
  42.                     Some Hints
  43.  
  44. If you use the original 20 Questions 'Word.brn' file there are three main categories, ANIMAL, VEGETABLE and MINERAL. Since everything in the Universe has to fit into one of these classifications, there has to be a slight straining of logic. Objects like the Planet Mars is listed under MINERAL because it's not ANIMAL or VEGGIE. Same for locations, rivers, gases etc. 
  45. Also, You must KNOW what something is made of. Turpentine comes from trees-It's VEGETABLE! So is a dollar bill. If you are not sure, there's always the Dictionary... it's a good learning experience.
  46. If you put wrong information into the (BRAIN) database, it will start to give wrong answers and pretty soon it will be no smarter than you ... and that's not good. You can even add more detail to an answer if you a picky person. For example Dr. Mysto might tell that your word is Marilyn Monroe when you had a part of her body as your word. Just answer no to Marilyn Monroe as your word and then when Mysto asks for your word, correct him by typing in "Marilyn Monroe's Nose", or whatever you had in mind.
  47. The latest version Dr Mysto 5.xx has a small sound routine in it. Although it doesn't say all of the words, it does give a demonstration of what sound possibilities there are. If you want to add more wave capabilities, you need a file called WAVE1.VBX. This file is available from MABRY.COM on the internet. It is just a paltry $10 by instant e-mail and VERY easy to use. Just use the
  48. add file function in VB and then put in the code, 'Wave1.Filename="(name of wave).wav" and then add 'Wave1.Action=1'. As long as the wave file is present, it will play.
  49. Remember, the clock tells you which version of Dr Mysto you have and the clock is active too.
  50.                     **********
  51. 7/16/97 I have added a BRAIN selector to the program thanks to a suggestion by Adrien Yam of Queensland Australia
  52. 12/30/97 Reworked replay, thanks to Robert Lee Bowman at SoftSeek.com
  53. 1/11/99 Reworked graphics and added more categories.
  54.  
  55. Disclaimer: I don't guarantee anything at all.
  56.  
  57.   ***** For the latest updates, visit the Dr. Mysto homepage. *****
  58.  
  59. Frank DiNunzio
  60.  
  61.