home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 7 Games / 07-Games.zip / greed.zip / greed.HLP (.txt) < prev    next >
OS/2 Help File  |  1993-08-10  |  34KB  |  372 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Playing the game ΓòÉΓòÉΓòÉ
  3.  
  4. The game Greed is an old Unix classic, and as such is originally a text mode 
  5. game. This implementation exploits OS/2's Presentation Manager to provide the 
  6. game with a more aestetic look and adds a few options to the original Unix 
  7. implementation, but the general idea remains the same. 
  8.  
  9. Greed is a board game, where you are presented with a matrix of numbered tiles. 
  10. Your task is to remove as many tiles as possible. Below is the game board: 
  11.  
  12. You control the yellow thing  The numbers indicate how many tiles you will move 
  13. in each direction. You cannot walk over a tile that has already been taken. Nor 
  14. can you walk off the board. The tiles will be removed in your trail. 
  15.  
  16. The depressed tiles around your mark indicate how far you will move in each 
  17. direction. In the game above, you can move four tiles left, two tiles right or 
  18. four tiles left/up. You cannot move down since that would take you off the 
  19. board. You cannot move up, since that tile has already been taken. 
  20.  
  21. The game ends when you can't move any further. 
  22.  
  23. Use the menus  to control the Game settings or to get Help. 
  24.  
  25. Your score is shown in the dialog box at the bottom of the game window. Here 
  26. the score is 17.5%. The other figure is the number of tiles you've managed to 
  27. remove. This number is not very important - it's the percentage that puts you 
  28. on the high scores list. 
  29.  
  30. You shouldn't expect to get a score of 100% - a score of about 90% is very 
  31. good. 
  32.  
  33. Enjoy! 
  34.  
  35. Select one of the following items for further help: 
  36.  
  37. Keys help      Keys used for playing Greed 
  38.  
  39. Game options   Setting the game options 
  40.  
  41. Getting help.  Learn how to get help. 
  42.  
  43. Game tips      Learn how to get a good score 
  44.  
  45. Copyright notice The usual legal stuff as well as some interesting info. 
  46.  
  47. Getting the source code How to order the full source code and documentation for 
  48.                Greed. 
  49.  
  50.  
  51. ΓòÉΓòÉΓòÉ 2. Keys help ΓòÉΓòÉΓòÉ
  52.  
  53. The game is controlled with the keyboard only. Use the arrow keys on the 
  54. numeric keypad to move. If your keyboard doesn't have a separate number 
  55. section, these are the keys to use: 
  56.  
  57. UP             Moves up 
  58. DOWN           Moves down 
  59. LEFT           Moves left 
  60. RIGHT          Moves right 
  61. HOME           Moves up and left 
  62. PG-UP          Moves up and right 
  63. END            Moves down and left 
  64. PG-DOWN        Moves down and left 
  65.  
  66.  
  67. ΓòÉΓòÉΓòÉ 3. Game menu. ΓòÉΓòÉΓòÉ
  68.  
  69. This menu contains entries for various settings. Select from the list beneath 
  70. to get more help for: 
  71.  
  72. Restart        Restart the game. 
  73.  
  74. Options        Change game options. 
  75.  
  76. High scores    Display the high scores. 
  77.  
  78. Quit           Quit game and exit Greed. 
  79.  
  80.  
  81. ΓòÉΓòÉΓòÉ 3.1. Restart. ΓòÉΓòÉΓòÉ
  82.  
  83. This will restart the game. If you are in a current game, selecting restart 
  84. will end the game. 
  85.  
  86. You use Restart to start a new game or to quit your current game. 
  87.  
  88.  
  89. ΓòÉΓòÉΓòÉ 3.2. Options. ΓòÉΓòÉΓòÉ
  90.  
  91. Use Options to set the various game parameters. Select Help from the Options 
  92. dialog to find out more about the individual settings. 
  93.  
  94. Select Setting game options to get help for setting the game options 
  95.  
  96.  
  97. ΓòÉΓòÉΓòÉ 3.3. High scores. ΓòÉΓòÉΓòÉ
  98.  
  99. Select High scores to view the best scores. Greed keeps track of the three best 
  100. scores from each of three selected game types, as well as the three best scores 
  101. from the Custom game type. Greed saves the high scores to disk, and the high 
  102. scores are thus scores for the all time greed champions. 
  103.  
  104.  
  105. ΓòÉΓòÉΓòÉ 3.4. Quit. ΓòÉΓòÉΓòÉ
  106.  
  107. Select Quit to quit the current game and exit Greed. If you just want to quit 
  108. the current game, select Restart from the Game menu 
  109.  
  110. Quit will save your current game settings. 
  111.  
  112.  
  113. ΓòÉΓòÉΓòÉ 4. Help menu. ΓòÉΓòÉΓòÉ
  114.  
  115. Use this menu to get help. You can also press F1 at any time to get 
  116. context-sensitive help. 
  117.  
  118.  
  119. ΓòÉΓòÉΓòÉ 5. Setting game options. ΓòÉΓòÉΓòÉ
  120.  
  121. From the Options dialog you can set the various game options. In the Grid size 
  122. section, you select the size of the game grid. You can select from three 
  123. predefined sizes or select Custom to define your own game size. 
  124.  
  125. The game keeps track of high scores for each of the three predefined game sizes 
  126. as well as for the Custom type. 
  127.  
  128. The X-size and Y-size entry fields of the Custom grid size section are greyed 
  129. out unless Custom has been selected. 
  130.  
  131. Select an item below to get information for the individual controls: 
  132.  
  133. 20x20 
  134. 40x30 
  135. 80x25 
  136. Custom 
  137. X-size 
  138. Y-size 
  139. Bitmap options 
  140.  
  141. See also Selecting a game size 
  142.  
  143.  
  144. ΓòÉΓòÉΓòÉ 5.1. 20x20 ΓòÉΓòÉΓòÉ
  145.  
  146. This will select a game size of 20x20. There will be tiles numbered  to 
  147.  
  148.  
  149. ΓòÉΓòÉΓòÉ 5.2. 40x30 ΓòÉΓòÉΓòÉ
  150.  
  151. This will select a game size of 40x30. There will be tiles numbered  to 
  152.  
  153.  
  154. ΓòÉΓòÉΓòÉ 5.3. 80x25 ΓòÉΓòÉΓòÉ
  155.  
  156. This will select a game size of 80x25. There will be tiles numbered  to , which 
  157. is the game size of the original UNIX implementation. 
  158.  
  159.  
  160. ΓòÉΓòÉΓòÉ 5.4. Custom game size ΓòÉΓòÉΓòÉ
  161.  
  162. This will select custom game size. After selecting custom game size, enter the 
  163. x and y dimensions in the entry fields. The range of the numbered tiles will 
  164. depend on the game size - the bigger the game, the greater range. The minimum 
  165. is -, the maximum is - 
  166.  
  167.  
  168. ΓòÉΓòÉΓòÉ 5.5. The X-size entry field ΓòÉΓòÉΓòÉ
  169.  
  170. Enter the x-size in this field. 
  171.  
  172.  
  173. ΓòÉΓòÉΓòÉ 5.6. The Y-size entry field ΓòÉΓòÉΓòÉ
  174.  
  175. Enter the y-size in this field. 
  176.  
  177.  
  178. ΓòÉΓòÉΓòÉ 5.7. Bitmap settings. ΓòÉΓòÉΓòÉ
  179.  
  180. Greed uses bitmaps to display the tiles. Since bitmaps are device dependent, 
  181. Greed includes several bitmap sets to match different screen resolutions. Greed 
  182. will automatically detect your screen device's capabilities and select the 
  183. bitmaps used for the tiles accordingly. If the current resolution is 1024x768, 
  184. 8 bits/pixel (256 color) or better, Greed will select the fancy looking 20x20 
  185. 256 color bitmaps. If the current screen resolution is below 1024x768 or uses 
  186. less than 8 bits/pixel, Greed will select 16x16 device independent bitmaps for 
  187. the tiles. You can however tell Greed to override the defaults. 
  188.  
  189. Check Always use 16x16 VGA bitmaps to force Greed to use the 16x16 device 
  190. independent bitmaps. You might want to check this to allow more tiles to fit on 
  191. the screen, or simply because you find the plain looking 16x16 bitmaps easier 
  192. to read. 
  193.  
  194. Check Always use 20x20 SVGA bitmaps To force Greed to use the 256 colored 20x20 
  195. bitmaps. If your device doesn't support 256 colors, this won't look pretty, but 
  196. Greed leaves the choice to you. This setting is primarily intended for users 
  197. with <1024x768 256 color displays, who want to enjoy the pretty bitmaps. 
  198.  
  199. Check Use default bitmaps to let Greed choose the appropriate bitmaps. This is 
  200. the recommended setting. 
  201.  
  202.  
  203. ΓòÉΓòÉΓòÉ 6. Options dialog - Selecting a game size. ΓòÉΓòÉΓòÉ
  204.  
  205. This implementation of Greed allows you to select between three different game 
  206. sizes (the number of tiles in the x and y dimensions) as well as a custom size. 
  207. The game remembers the high scores for the four different game types 
  208. independently. 
  209.  
  210. If you select a game size, which won't fit on the screen, Greed automagically 
  211. puts scroll bars at the border of the game window and puts you in virtual 
  212. gameboard mode. You can use the scrollbars to move the viewport around the 
  213. screen, or you can just move close to the border and the window will 
  214. automatically scroll. 
  215.  
  216. Depending on the game size, Greed will automatically decide the range of the 
  217. numbered tiles. In the 20x20 game size the numbered tiles will go from 1 to 5. 
  218. In the 80x25 game the numbers will range from 1 to 9 as in the original Unix 
  219. implementation. The minimum range is 1 to 5, the maximum range is 1 to 9. 
  220.  
  221. The game size is selected from the Options dialog in the game menu. 
  222.  
  223. The available game sizes are: 
  224.  
  225. 20x20 
  226.  
  227. 40x30 
  228.  
  229. 80x25 
  230.  
  231. Custom size 
  232.  
  233. See also: Setting game options 
  234.  
  235.  
  236. ΓòÉΓòÉΓòÉ 7. High scores ΓòÉΓòÉΓòÉ
  237.  
  238. Check out the High scores window in the game menu for the current high scores 
  239. for the three predefined game types and for the custom game type. Greed will 
  240. save the highscores as well as all the settings in its own .ini file called 
  241. 'greed.ini'. Delete this file if you want to clear the high scores. 
  242.  
  243. Though the object of the game is to remove all the tiles, this won't ever 
  244. happen (unless you select a game size of 1 by 1, that is). In a game size of 80 
  245. by 25 for instance, a score of 85-90% is considered very good. 
  246.  
  247. When you are done looking at the high scores press the OK button. 
  248.  
  249. See also Getting onto the high-score list 
  250.  
  251.  
  252. ΓòÉΓòÉΓòÉ 7.1. OK button in high scores dialog. ΓòÉΓòÉΓòÉ
  253.  
  254. Press OK when you are done looking. This will bring you back to the game board. 
  255.  
  256. See also High scores 
  257.  
  258.  
  259. ΓòÉΓòÉΓòÉ 8. Getting a good score ΓòÉΓòÉΓòÉ
  260.  
  261. Though getting a good score in Greed requires some amount of luck, practice 
  262. will also help. Here are some advices to get started: 
  263.  
  264. o Try to get to one of the borders as quickly as possible and try to keep the 
  265.   uncovered areas together without too many holes. 
  266.  
  267. o Remember that two diagonal lines can cross each other. 
  268.  
  269. o Use diagonal lines sparcely, since they will quickly clutter the gameboard. 
  270.  
  271. o Don't make long straight lines in the middle of the game board, since they 
  272.   will quickly lead to holes on the board. 
  273.  
  274. o Be careful not to press the wrong button - undo isn't implemented yet. 
  275.  
  276.  
  277. ΓòÉΓòÉΓòÉ 9. Copyright notice ΓòÉΓòÉΓòÉ
  278.  
  279. Greed is freeware, which means you can freely copy it, upload it to any 
  280. Internet,  CompuServe or BBS site and otherwise distribute it by all means. You 
  281. are in fact strongly encouraged to do so, as long as you don't charge any money 
  282. for it. 
  283.  
  284. It may be included in software collections sold for a nominal fee subject to 
  285. the following conditions: 
  286.  
  287. o The distributed media must include at least 5 software titles for diskette 
  288.   distribution, and at least 50 software titles for CD distribution. 
  289.  
  290. o The total price may not exceed US$ 5 for diskette distribution, US$ 50 for CD 
  291.   distribution. 
  292.  
  293. Though Greed is freeware, it remains the copyright of Peter Skov Knudsen. It 
  294. may not be modified in any way, and may not be used for any commercial purpose. 
  295. Any distribution of this game must include the following files: 
  296.  
  297. GREED.EXE      The executable 
  298. GREED.HLP      The help file 
  299. READ.ME        Important information. 
  300.  
  301. While you are not required to register the game, if you like this game, I would 
  302. be happy to receive a postcard (preferably) or email. A modest donation will 
  303. also not be rejected, and will encourage me to make more OS/2 programs in the 
  304. future. All kind of comments/criticism or bug reports are also welcome. 
  305.  
  306. Send postcards/donations to: 
  307.  
  308. Peter Skov Knudsen 
  309. Viktoriagade 8D, 2.tv. 
  310. 1655 Kbh. V. 
  311. Denmark 
  312.  
  313. Send email to 
  314.  
  315. gogol@diku.dk 
  316.  
  317. Note - don't send foreign cheques, a few bills in your local currency in the 
  318. envelope will do ;-) 
  319.  
  320. If you send a high density floppy together with a donation of minimum $10, I'll 
  321. send you the complete source code for Greed. 
  322.  
  323. See also: Getting the source code. 
  324.  
  325.  
  326. ΓòÉΓòÉΓòÉ 9.1. About greed ΓòÉΓòÉΓòÉ
  327.  
  328. Press the OK button to return to the game. 
  329.  
  330. Be sure to read the Copyright notice 
  331.  
  332.  
  333. ΓòÉΓòÉΓòÉ 10. Getting the source code for Greed. ΓòÉΓòÉΓòÉ
  334.  
  335. Are you trying to get started with PM-programming, but find the step from 
  336. Hello, world to a real program a bit steep? Do you find that all your 
  337. PM-tutorials end with a but this is beyond the scope of this book once things 
  338. start to get complicated - exactly where you need the help? Do you have the 
  339. feeling, that there's a whole bunch of fine and instructive code in the Toolkit 
  340. samples, but that it lacks documentation? 
  341.  
  342. If you can answer yes to these questions, then you might want to order the 
  343. source code for Greed. Together with the source code (more than 1200 lines of 
  344. code) you'll get the IPF script for the online help, the RC resource script as 
  345. well as all the bitmaps and icons used in Greed. But most important, you'll get 
  346. a INF file ready to view with OS/2's VIEW utility with a thorough explanation 
  347. of the source code, explanation of the design decisions, and of the general 
  348. techniques used. These are some of the topics covered: 
  349.  
  350. o Working with non-standard windows 
  351. o Using scroll bars to implement a virtual work space 
  352. o Keeping track of the update rectangle to allow for fast screen updates. 
  353. o Subclassing the frame to gain full control of the positioning of the frame's 
  354.   child windows. 
  355. o Using bitmap animations. 
  356. o Creating on-line help and documentation and integrating it in the 
  357.   application. 
  358. o Using INI files to save program information. 
  359. o And a lot of other useful information. 
  360.  
  361. And all this is explained in the context of a full working application. Though 
  362. it will propably not make you a professional PM developer from one day to 
  363. another, it will make the gap from hello world to real applications a hell of a 
  364. lot easier to fill. Furthermore, by ordering the source code, you get the full 
  365. right to use the entire material for whatever purpose with just one exeption: 
  366. No Greed implementations, please. 
  367.  
  368. To get the source code, send me a floppy disk together with a donation of at 
  369. minimum US$ 10 (Danish citizens DKK 50, for all others the equal of US$ 10), 
  370. and I'll send you the source code together with the above-mentioned material. 
  371.  
  372. See Copyright information for ordering address and instructions.