home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / my_mem / myreadme.txt < prev    next >
Text File  |  1992-01-27  |  5KB  |  111 lines

  1.         MyMemory Version 1.2
  2.         Copyright (c) 1991 by Dirk Rogers
  3.  
  4. The following code and executable is provided free.  The code may be used
  5. as you like, so long as this program is not reproduced or charged for.
  6. The author takes no responsibility for the use or misuse of this code.
  7.  
  8. The following files are provided in MYMEM12.zip:
  9.  
  10.         MYMEMORY EXE    42096   1-27-92  10:20a
  11.         MYMEMORY ICO      766   1-27-92  10:20a
  12.         MYMEMORY MAK      136   1-27-92  10:20a
  13.         MYGLOBAL BAS     3953   1-27-92  10:20a
  14.         MYGP     FRM     1818   1-27-92  10:20a
  15.         MYHELP   FRM     2021   1-27-92  10:20a
  16.         MYMEMORY FRM    12228   1-27-92  10:20a
  17.         MYSET    FRM     7098   1-27-92  10:20a
  18.         MYMEMRY  BAS    12539   1-27-92  10:20a
  19.         MYREADME TXT     4938   1-27-92  10:20a
  20.  
  21. This software requires VBRUN100.DLL to execute.  You will find this file
  22. provided with Microsoft Visual Basic or in the CompuServe BASIC Forum.
  23.  
  24. I hope you find this program somewhat entertaining.  The code is presented here
  25. simply as a learning experience.  I imagine there are many things that could
  26. have been done better.
  27.  
  28. Included in this code are examples of:
  29.  
  30.     1.  Drawing buttons ( did not use button objects on playing field)
  31.     2.  Reading and writing INI files
  32.     3.  Managing size of Forms and Labels
  33.     4.  Determining screen resolution
  34.     5.  Using FloodFill to color areas
  35.  
  36. Have Fun!
  37. Dirk
  38. CompuServe ID 70451,2723
  39. Comments Appreciated
  40.  
  41. ---------------------------------------------------------------------
  42. Some Notes on Running MyMemory
  43. ------------------------------
  44.  
  45. This program requires Microsoft Windows Version 3.0, VBRUN100.DLL and
  46. MYMEMORY.EXE to execute.  VBRUN100.DLL is available with Microsoft
  47. Visual Basic or from CompuServe's BASIC Forum Library.  All other files
  48. provided in MYMEM12.ZIP are development files.
  49.  
  50. The program is started by executing MYMEMORY.EXE under Windows 3.0.
  51. See Windows 3.0 manual for these details.
  52.  
  53. Note:  If using Norton Desktop for Windows, this program may present 
  54. itself behind Norton Desktop.  You will then need to minimize Norton
  55. Desktop or click on MyMemory to bring it forward.  (I haven't at this
  56. time figured out how to fix this yet)
  57.  
  58. MyMemory begins with a gray background and blank colored text areas.
  59. To start a game either:
  60.  
  61.     1.  Click on the gray background
  62.     2.  From the keyboard, hit F2
  63.     3.  From the menu select Game and then New Game
  64.  
  65. You will then be given a field of squares (buttons).  Select two squares
  66. to see if they match.  Matching squares remain visible.  Unmatched squares
  67. will hide after 2 seconds.  Game ends when all squares are visible.  
  68. Clicking on a completed field will start a new game.  MyMemory will also
  69. remember the number of moves (guesses made) to complete a game.
  70. ---------------------------------------------------------------------------
  71. Game - Settings (keyboard F3)
  72. -----------------------------
  73. This game allows you to select different field sizes, the time an unmatched
  74. pair stays visible, and also save settings to an INI file.
  75.  
  76. MyMemory checks the resolution of your screen and will not allow the form
  77. size to exceed that.  I have checked this on both 640 X 480 and 800 X 600.
  78. If a field size will not fit within the resolution of your screen, specific
  79. selections will be grayed (not selectable).  You should then select a smaller
  80. square size to allow for the larger playing fields.  Note that when selecting
  81. the smallest horizontal size the label field widths are doubled thus requiring 
  82. a small square size to use with 640 X 480.
  83.  
  84. You may save these settings and best scores to an initialization file.  The
  85. selections allow you to save the settings to either:
  86.  
  87.     1.  MYMEMORY.INI - a game unique file
  88.     2.  WIN.INI      - the windows initialization file
  89.                (this may not be appropriate if too large)
  90.     3.  ENTPACK.INI  - the initialization file that is used by the
  91.                Windows Entertainment Package.
  92.  
  93. Notes:
  94. Selecting "Don't Save" will not remove old settings from INI file.  It will
  95. only keep current settings from being saved when you exit the current game.
  96. If a previous game's settings were saved it will find those next time the
  97. game is started.  You must edit the INI file and remove the [MyMemory] Section
  98. if you wish not to have any profile found when starting the program.
  99. (Something to correct in a later version, perhaps)
  100.  
  101. Also, MyMemory searches first for MYMEMORY.INI, then ENTPACK.INI and finally
  102. WIN.INI.  It will use the first settings found. 
  103.  
  104. ---------------------------------------------------------------------------
  105. Game - Show Record (keyboard F4)
  106. -----------------------------
  107. This will show you the current scores for each field size available.  You may
  108. also print these scores or clear the old scores.
  109.  
  110. ----------------------------------------------------------------------------
  111.