home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 7 Games / 07-Games.zip / YATZYNET.ZIP / YATZYUS.HLP (.txt) < prev    next >
OS/2 Help File  |  1991-02-08  |  16KB  |  462 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Extended help for Yatzee ΓòÉΓòÉΓòÉ
  3.  
  4. This program is a computer-version of a game of dice called Yatzee. 
  5.  
  6. To get an overview of the game and its possibilities, select Contents in the 
  7. menu Options in the action bar, or press Ctrl+C. 
  8.  
  9. To get an overview of the rules of Yatzee, choose rules. 
  10.  
  11.  
  12. ΓòÉΓòÉΓòÉ 1.1. The game sheet ΓòÉΓòÉΓòÉ
  13.  
  14. Each player gets his own game sheet, which not only shows the players dices and 
  15. score, but also all the other players dices and score. 
  16.  
  17. The game sheet opens by starting the program YATZYNET.EXE. When this program is 
  18. executed, it is important, that current directory is the one where the system 
  19. was installed. This is also true if you put the game in a group-menu. Don't 
  20. forget to mention the right directory in the "Working directory" entryfield. 
  21.  
  22. The game sheet is a vindow, that contains several child windows. Each of these 
  23. child windows shows a participating players dices and score-board. The child 
  24. windows are self contained and can be freely manipulated, i.e. minimized. 
  25. Except from your own window, you are not allowed to use them for playing. 
  26.  
  27. You play the game on your own child window, which as a default is placed to the 
  28. left on the game sheet. Normally you will manipulate the dices with the mouse, 
  29. but you can also use the keyboard. Take a look on the Keys help for a 
  30. description of the meaning of the keys. The description of how to select and 
  31. deselect the dices and how you throw the dices is found in dices. 
  32.  
  33. At the same time as you are playing, others can play too. There is no notion of 
  34. your "turn", unless the players all agree upon it. As soon as a player does 
  35. something in his child window, this is immediately reflected on the other 
  36. players game sheets. Everybody are therefore always informed of the progressing 
  37. game. 
  38.  
  39. It is not necessary, that all participants commence on the same time. A player 
  40. is able to begin playing after some or all the others have finished. 
  41.  
  42. The game is over when all the players has placed a score in all the score 
  43. categories. A new game can begin when the server-program has terminated and is 
  44. restarted. 
  45.  
  46.  
  47. ΓòÉΓòÉΓòÉ 1.2. Playing on one computer ΓòÉΓòÉΓòÉ
  48.  
  49. The game is aimed at one game sheet on each players computer, but it is 
  50. possible to create all game sheets on a single computer. If you do that, you 
  51. must also execute the server-program on this computer too, and not on the 
  52. LAN-server. Also, you should not enter a servername in the dialogbox Insert 
  53. player. 
  54.  
  55.  
  56. ΓòÉΓòÉΓòÉ 1.3. Language support ΓòÉΓòÉΓòÉ
  57.  
  58. Normally the program will start in the language that OS/2 has been told to use 
  59. for this computer. If the language is not supported, english is used. 
  60.  
  61. You can ask the program to use another language than the default by entering 
  62. the country code when you start the program. For example will the following 
  63. command make the program run in danish, even on an american computer: 
  64.  
  65. YATZYNET 45
  66.  
  67. The different country codes normally equels the countrys international 
  68. dial-numbers. Here are some examples: 
  69.  
  70.  Country         Country code 
  71.  Belgium         32 
  72.  Denmark         45 
  73.  France          33 
  74.  Germany         49 
  75.  Italy           39 
  76.  Holland         31 
  77.  Norway          47 
  78.  Spain           34 
  79.  Sweden          46 
  80.  Schwitzerland   41 
  81.  
  82.  Note:   Only english and danish are currently supported. If anybody wants to 
  83.  translate it to other languages (or to correct my english), please contact me 
  84.  on the address mentioned in Acknowledgments. 
  85.  
  86.  
  87. ΓòÉΓòÉΓòÉ 1.4. Limitations ΓòÉΓòÉΓòÉ
  88.  
  89. The game allows up to ten simultaneous players. 
  90.  
  91. If the program is minimized while new players are inserted, their child windows 
  92. are placed under each other on the game sheet. 
  93.  
  94.  
  95. ΓòÉΓòÉΓòÉ 1.5. Information for programmers ΓòÉΓòÉΓòÉ
  96.  
  97. The program utilizes a lot of unique OS/2-features, such as user-developed 
  98. controls, (dices and sets of dices), multiple threads (in the server-program), 
  99. Information Processing Facility (this help), Named Pipes (communication between 
  100. the game sheets and the server-program), Dynamic Link Libraries (for various 
  101. language-dependent resources), National Language Support, use of user profiles 
  102. (for storage of the player- and servername), Common User Access Multiple 
  103. Document Interface, an undo-facility, and so on. 
  104.  
  105. It was developed using the IBM Programming Tools and Information version 1.2 
  106. and the IBM C/2 version 1.1. The editor used was the IBM Live Parsing Editor. 
  107. The development process was undertaken on an IBM Portable P70-061 with 4MB 
  108. memory. The operating system was IBM OS/2 Standard Edition 1.2. Note that this 
  109. program, which is aimed at a LAN-environment, is developed on a stand-alone PC 
  110. without any LAN-facilities. 
  111.  
  112. Since so many unique OS/2-facilities have been used, the program is a good 
  113. illustration of the potentials of OS/2. The program can, besides the 
  114. Yatzee-game, be used as an example of OS/2's broad capabilities. 
  115.  
  116. Any questions, comments or error reports should be directed to the address 
  117. mentioned in Acknowledgments. 
  118.  
  119.  
  120. ΓòÉΓòÉΓòÉ 2. Keys help for Yatzee ΓòÉΓòÉΓòÉ
  121.  
  122. The following keys can be used during the game: 
  123.  
  124.  Key       Function 
  125.  
  126.  Ctrl+I    Insert player 
  127.  
  128.  Ctrl+T    Transfer throw 
  129.  
  130.  Ctrl+R    Reset dices 
  131.  
  132.  Ctrl+D    Dices 
  133.  
  134.  F10       Transfer the focus to the actionbar 
  135.  
  136.  Keys for throwing and selection of dices: 
  137.  
  138.  Key       Function 
  139.  
  140.  Spacebar  Toggles the dice with focus between selected and not selected 
  141.  
  142.  Arrow keys Move focus between the dices 
  143.  
  144.  Enter     Thow the dices which p.t. is selected. Note that the dice which has 
  145.            the focus always is selected and participates in the throw, even 
  146.            though it on the time for the throw is not selected. 
  147.  
  148.  Other keys: 
  149.  
  150.  Key       Function 
  151.  
  152.  Alt+     Provide categories in the dialogbox Transfer throw 
  153.  
  154.  Besides the above mentioned keys, OS/2's normal keys can be used - i.e. F1 for 
  155.  help. 
  156.  
  157.  
  158. ΓòÉΓòÉΓòÉ 3. Help for actionbar ΓòÉΓòÉΓòÉ
  159.  
  160. In this item, there is help for the different menu-choices. 
  161.  
  162.  
  163. ΓòÉΓòÉΓòÉ 3.1. Options ΓòÉΓòÉΓòÉ
  164.  
  165. Here you select between a row of choices, which controls the game. 
  166.  
  167. Look at the the help for the individual items to get a description. 
  168.  
  169.  
  170. ΓòÉΓòÉΓòÉ 3.1.1. Insert player ΓòÉΓòÉΓòÉ
  171.  
  172. When you select this item, you can insert a player by entering his or hers 
  173. name. If you are playing in a LAN-environment, the name of the computer on 
  174. which the server-program runs must also be entered. 
  175.  
  176. It is only possible to insert one player per game sheet. When this has 
  177. happened, the item turns grey and cannot be selected again. 
  178.  
  179.  
  180. ΓòÉΓòÉΓòÉ 3.1.2. Transfer throw ΓòÉΓòÉΓòÉ
  181.  
  182. When you select this item, you transfer your throw to the score-board. The item 
  183. cannot be selected until you have thrown the dices at least once since the last 
  184. transfer to the score-board. 
  185.  
  186.  
  187. ΓòÉΓòÉΓòÉ 3.1.3. Undo transfer ΓòÉΓòÉΓòÉ
  188.  
  189. When you select this item, you undo the last transfer of a throw to the 
  190. score-board. After the selection of this item, you are in the same situation as 
  191. just before the transfer took place. This means, that if you had one or two 
  192. throws left, you are now able to make them. 
  193.  
  194. Note:   This item can only be selected just after a transfer of a throw to the 
  195. score-board. If you for example have made a Reset dices in the meantime, the 
  196. Undo transfer is not applicable. 
  197.  
  198.  
  199. ΓòÉΓòÉΓòÉ 3.1.4. Reset dices ΓòÉΓòÉΓòÉ
  200.  
  201. When you select this item, you removes any selections of dices and they are all 
  202. reset to aces. This item can only be selected just after that a throw has been 
  203. transferred to the score-board. 
  204.  
  205.  
  206. ΓòÉΓòÉΓòÉ 3.2. Window ΓòÉΓòÉΓòÉ
  207.  
  208. When you select this item, you can select between your own child window with 
  209. dices and the other players child windows. 
  210.  
  211. This item makes the program independent of a mouse. 
  212.  
  213.  
  214. ΓòÉΓòÉΓòÉ 3.2.1. Dices ΓòÉΓòÉΓòÉ
  215.  
  216. When you select this item, you give your own dices focus. 
  217.  
  218. This item makes the program independent of a mouse. 
  219.  
  220.  
  221. ΓòÉΓòÉΓòÉ 3.2.2. About ΓòÉΓòÉΓòÉ
  222.  
  223. When you select this item, you show the programs About-dialogbox. 
  224.  
  225.  
  226. ΓòÉΓòÉΓòÉ 4. Dialogboxes ΓòÉΓòÉΓòÉ
  227.  
  228. Help to the dialogboxes in the game. 
  229.  
  230.  
  231. ΓòÉΓòÉΓòÉ 4.1. Insert player ΓòÉΓòÉΓòÉ
  232.  
  233. Help to the entryfields of the dialogbox Insert player. 
  234.  
  235.  
  236. ΓòÉΓòÉΓòÉ 4.1.1. Name of player ΓòÉΓòÉΓòÉ
  237.  
  238. In this entryfield you enter the name of the player. The name helps the other 
  239. players identifying each other. It is possible for two or more players to have 
  240. the same name, but it is recommended to use unique names. 
  241.  
  242. The entryfield can contain a maximum of 39 characters, which will be remembered 
  243. between games. 
  244.  
  245.  
  246. ΓòÉΓòÉΓòÉ 4.1.2. Name of server ΓòÉΓòÉΓòÉ
  247.  
  248. When you play in a LAN-environment, the server-program must be started on the 
  249. LAN-server. The machine-identification of the server must be entered in this 
  250. entryfield. 
  251.  
  252. If you are in doubt about which servers you have access to, you can use the NET 
  253. VIEW-command. If you want further information, see your local 
  254. network-administrator or consult the handbook OS/2 LAN Server Network 
  255. Administrators Guide. 
  256.  
  257. The entryfield can contain a maximum of 8 characters, which will be remembered 
  258. between games. 
  259.  
  260.  
  261. ΓòÉΓòÉΓòÉ 4.2. Transfer throw ΓòÉΓòÉΓòÉ
  262.  
  263. In this dialogbox, you specify where to place your throw. It is only possible 
  264. to choose between categories not chosen before. The program makes a suggestion, 
  265. but if you want to make another choice, you can select between the available 
  266. options. Either click on the down-arrow or press Alt+ on the keyboard. 
  267.  
  268. It is possible to undo the transfer by selecting Undo transfer. 
  269.  
  270.  
  271. ΓòÉΓòÉΓòÉ 5. The server-program ΓòÉΓòÉΓòÉ
  272.  
  273. This program is the center of communication between the game sheets, whether 
  274. the game takes place on one or more computers. When more computers are 
  275. involved, the server-program must be executed on the server in the local area 
  276. network. The name of the server-program is YASERVER.EXE. The server-program 
  277. must be started before the first player can be inserted. When the 
  278. server-program has been started, it waits for the first insertion. If it does 
  279. not receive an insertion within two minutes, it will bring itself to an end. 
  280. When the last player has terminated and closed the game sheet, it will also 
  281. bring itself to an end. When at least one player has an open game sheet, the 
  282. server-program allows fifteen minutes of inactivity before it brings itself to 
  283. an end. 
  284.  
  285. It is possible to start the server-program from any computer in the network via 
  286. the NET RUN-command. The current drive must be the network-drive upon which the 
  287. server-program is placed. If you want further information, see your local 
  288. network-administrator or consult the handbook OS/2 LAN Server Network 
  289. Administrators Guide. 
  290.  
  291. During playtime, the server-program writes to its window whenever a player is 
  292. inserted and terminated. If you want more exhaustive information, you can pass 
  293. any parameter to the program, when it is started. For example the following 
  294. command causes full information written to the window about the various 
  295. messages, which the server-program processes: 
  296.  
  297. YASERVER 1
  298.  
  299.  
  300. ΓòÉΓòÉΓòÉ 6. Rules for Yatzee ΓòÉΓòÉΓòÉ
  301.  
  302. The game of Yatzee is played with five dices, and is won by the player with the 
  303. highest score when the game is over. 
  304.  
  305. The game consists of fifteen rounds per player. For each round, the player can 
  306. make up to three throws. After each throw, the player can optionally deselect 
  307. any number of dices or none at all. After the first or second throw, the player 
  308. may transfer the throw to the score-board. After the third throw, the throw 
  309. must be transferred. It is possible for a dice to participate in a throw even 
  310. though it earlier in the same round was deselected. 
  311.  
  312. There is fifteen score-categories, and each round results in one of them being 
  313. filled, possibly by nil. It is only possible to transfer once to a 
  314. score-category. However, under certain circumstances, it is possible to undo 
  315. the last transfer. For further information, see Undo transfer. As a generel 
  316. rule, the score in a category is equal to the number of pips on the dices which 
  317. is a part of the name of the score-category. Only the Yatzee score-category is 
  318. an exception from this. 
  319.  
  320. The upper six categories on the score-board are called Aces, Twos, Threes, 
  321. Fours, Fives and Sixes. For each, only the dices belonging to the name counts 
  322. when the score is calculated. If for example a throw consisting of one ace, two 
  323. threes, one fiver, and one sixer is transferred to the category Threes, 2 times 
  324. 3 equals 6 points are reached. If the throw one ace, two threes, and two sixes 
  325. are transferred to the category Sixes, 12 points are reached. For these six 
  326. upper categories, it is possible to get a special bonus of 50 points, when the 
  327. sum of their scores is greater than 62. This equals an average of three dices 
  328. in each category. Until a throw has been transferred to all these six 
  329. categories, the bonus-category keeps a record with a possible surplus or 
  330. deficit. When all the categories have received a score, the bonus-category 
  331. contains the sum of the scores inclusive any bonus. 
  332.  
  333. The next four score-categories is called One pair, Two pairs, Three alike and 
  334. Four alike. When a throw is transferred to these categories, the score is given 
  335. according to the name of the category. For example a throw of two threes, one 
  336. fiver and to sixes transferred to One pair yields 2 time 6 equals 12 points, 
  337. because the highest of the two possible pairs are selected. The same throw 
  338. yields 18 points (the sum of 2 times 3 and 2 times 6) when transferred to Two 
  339. pairs. 
  340.  
  341. Note:   When a throw containing four alike is transferred to Two pairs, it 
  342. yields nil. 
  343.  
  344. The next to score-categories are respectively Small and Large. Small yields 15 
  345. points, if the five dices show 1, 2, 3, 4 and 5 in any order. Large yields 20 
  346. points when the ace in the just mentioned throw is replaced with a sixer. The 
  347. category Full house demands, that the transferred throw consists of two of one 
  348. kind and three of another kind. As an example a throw that consists of three 
  349. aces and two fives yields the sum of 3 times 1 and 2 times 5 equals 13 point. 
  350.  
  351. Note:   When a throw containing five alike is transferred to Full house, it 
  352. yields nil. 
  353.  
  354. The following score-category is called Chance, and yields the sum of the dices 
  355. transferred. When as an example a throw containing 1, 2, 3, 4 and 6 is 
  356. transferred, it yields 16 points. Any throw transferred to Chance results in 
  357. some points. 
  358.  
  359. The last score-category is the one naming the game: Yatzee. When five dices of 
  360. the same kind are transferred, it yields 50 points, no matter what the dices 
  361. show. 
  362.  
  363.  
  364. ΓòÉΓòÉΓòÉ 7. Local area network ΓòÉΓòÉΓòÉ
  365.  
  366. LAN is an acronym for Local Area Network. This stands for a number of 
  367. stand-alone computers (clients) connected to a host-computer (server) via 
  368. high-speed connections. 
  369.  
  370. The server-program of the Yatzee-game YASERVER.EXE) must be executed on the 
  371. server-computer in the local area network, and the name of this computer must 
  372. be entered when the client-program of the Yatzee-game (YATZYNET.EXE) is 
  373. executed on the clients in the network. 
  374.  
  375.  
  376. ΓòÉΓòÉΓòÉ 8. The dices ΓòÉΓòÉΓòÉ
  377.  
  378. The game of Yatzee is played with five dices. Check rules for a more exhaustive 
  379. explanation of their meaning. 
  380.  
  381. You are able to select or deselect a dice by clicking on it with mousebutton 1 
  382. (normally the left button). When a dice is deselected, it does not participate 
  383. in the next throw. A deselected dice is marked with two crossing lines. 
  384.  
  385. You throw the dices by doubleclicking with mousebutton 1 on any dice. 
  386.  
  387. Note:   The dice you doubleclicks is always selected and participates in the 
  388. throw. 
  389.  
  390. Under certain circumstances the game does not allow that you manipulate the 
  391. dices - for example when all three throws have been made. They are then greyed. 
  392. Under other circumstances - when you have transferred a throw or reset the 
  393. dices - you are not allowed to deselect dices. 
  394.  
  395. If you want to use the keyboard instead of the mouse for manipulating the 
  396. dices, you can do that. See how in Keys help. 
  397.  
  398.  
  399. ΓòÉΓòÉΓòÉ 9. Acknowledgments ΓòÉΓòÉΓòÉ
  400.  
  401. This program is a result of work undertaken in the period of October to 
  402. December 1990 by Peder Madsen. 
  403.  
  404. Different people have more or less contributed to the program and deserves to 
  405. be mentioned: 
  406.  
  407. The server-program is based on an article in the IBM magazine Personal Systems 
  408. Developer from winter 1990 entitled "A Multi-User Server Using Named Pipes". 
  409. This article was written by Bryan Jackson from the company XcelleNet, Inc., 
  410. Atlanta, USA. 
  411.  
  412. The development of the dices are inspired by an article from IBM Systems 
  413. Journal vol. 29, No. 1, 1990 entitled "Effective application development for 
  414. Presentation Manager programs" by Susan Franklin and Tony Peters. 
  415.  
  416. Inspiration has also come from a DOS-based version of the Yatzee-game written 
  417. by Bj╨½rn Krogh. 
  418.  
  419. Thanks also to my wife Mette and my two daughters Vibe and Helene, who has 
  420. spent many lonely nights, while I worked on this program. 
  421.  
  422. If you use this game, please send 20 USdollars to: 
  423.  
  424.          Peder Madsen
  425.          Dalgas Have 68, st. t.v.
  426.          DK-2000 Frederiksberg
  427.          Denmark, Europe
  428.  
  429. You will then get the possibility of new versions or offerings of other 
  430. programs that I make. 
  431.  
  432. Please direct comments and error reports to the above address. 
  433.  
  434. The program is free of charge (except as mentioned above) and you may copy the 
  435. program freely. The program may not be sold or distributed commercially or 
  436. otherwise for profit. I reserve all rights and priviligies to this program. 
  437.  
  438. Installation and use of this program is on your own responsibility. The author 
  439. disclaims responsibility for any damage to your computer and its data. 
  440.  
  441. Please note, that I have done the translation from danish to english myself, 
  442. and that it therefore might contain some errors. I will welcome any 
  443. corrections. 
  444.  
  445. Copyright (c) 1990 by Peder Madsen. 
  446.  
  447.  
  448. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  449.  
  450. The score-board is the right part of a players child window. It constantly 
  451. monitors the players score in each score-category. At the bottom there is a 
  452. total, which at all times contains the sum of the players points. In this 
  453. total, any bonus-points are included. 
  454.  
  455. The line with the bonus-category (the seventh from the top) can be in two 
  456. different modes: When throws have been transferred to all the six upper 
  457. categories, the bonus-line denotes any bonus. When not all the categories have 
  458. received a throw, the bonus-line denotes the current status. A negative number 
  459. means, that if bonus were to be settled now, none would be given. Zero or a 
  460. positive number means, that bonus would be given. 
  461.  
  462. For futher information concerning the rules for getting bonus, check rules.