home *** CD-ROM | disk | FTP | other *** search
/ Amiga Computing 67 / ac067b.adf / Gammon1.3.DOC < prev    next >
Text File  |  1978-04-05  |  5KB  |  117 lines

  1.  
  2.                              Gammon
  3.                            ----------
  4.  
  5. Version : 1.3  (Release Date : 10.04.93)
  6. Author  : Marc Fischlin
  7.           Steigerwaldweg 6
  8.           D-6450 Hanau 7 (from 01.07.93: D-63456 Hanau)
  9.           Germany
  10. Software: C - Lattice SAS-C-Compiler V5.10
  11. Hardware: Amiga 2000B/ 68000er/ Kickstart V2.04
  12.  
  13. ------------------------------------------------------------
  14.  
  15. "Gammon" is  copyright  1993  by  Marc  Fischlin. All rights
  16. reserved. "Gammon" may  be  copied  and spread, if the whole
  17. directory is copied, the  programs in this directory are not
  18. manipulated and you do not gain any profit.
  19.  
  20. ------------------------------------------------------------
  21.  
  22. Main menu:
  23. Gammon is a computer version of  the famous backgammon game,
  24. that can substitute up to two human players. "Save settings"
  25. writes your favourite  settings  concerning colors, computer
  26. opponent, starting position  etc.  to the file "Gammon.INI",
  27. which will be read next  time  you start the programm. There
  28. are  four  new  (improved ?!)  computer  opponents ("Random"
  29. selects one  of  them  at  the  beginning  of  a  new game). 
  30. "Aggressive" plays  a  more  risky  game,  while "Defensive"
  31. tries to get all the stones home safely. "Blocking" tries to
  32. build barriers and "Balanced"  plays  a mixture of the three 
  33. above.
  34. After having started a  game  with "Start game", you can end 
  35. the game and return to  the  main  menu or directly quit the 
  36. program. Use "Undo move"  to  reset  the position until your 
  37. first move in that round.
  38.  
  39.  
  40. Handling:
  41. To move your  characters  simply  press  once  on the source
  42. position (the number lightens)  and then on the destination.
  43. The computer will  then  move  your character (if possible).
  44. You may move your  character  both  dice (except for bearing
  45. off) if  at  least  on  of  the  both  positions between are
  46. "clean", that means that you can for example move a 5-3-move
  47. in one step. If there is a  blot  the computer will not take
  48. that stone off the board!!!
  49. Press  again  on   the   source   to   cancel   your choice. 
  50. Double-click  on  the  positions  in  your  inner  table  to
  51. move your character out. To  move a character, that has been 
  52. kicked off  by  your opponent, back into the game press once
  53. on the destination  in your opponent's inner table. You pass
  54. by clicking once on  the dice.  If you can move at least one
  55. of your characters the computer will then tell you that move
  56. he  considers  to  be  best  (so  it  may  help  you  in any 
  57. position).
  58.  
  59.  
  60. Strategy of the computer:
  61. The computer distinguishes  between two possible situations:
  62. (a) The characters of the players haven't yet been seperated
  63. or (b) they have been seperated.  The computer then tries to
  64. move all its characters  into  its area and to take them off
  65. as fast as possible. In case (a) there are several points to
  66. consider:  Don't  place  a  single  character,  take  off an
  67. opponent's character,  don't  isolate your characters, build
  68. barriers etc.
  69.  
  70.  
  71. Programming the strategy of the computer:
  72. The computer tries  all  possible  moves  and judges all the
  73. positions. It e.g.  distinguishes  between  a 3-5-move and a
  74. 5-3-move, because  the  positions  after  the  moves  may be 
  75. different (Think  of  a  single  opponent's  character three
  76. places away!). In  case  of  doublets  there  is no exchange
  77. between the values, nevertheless it may take some seconds as
  78. the computer sometimes  judges  about  2000  positions. Some 
  79. examples: 2106 position  for  a  pair  of threes, 2021 for a 
  80. pair of twos, 1924 for a  pair  of  ones, 1834 for a pair of 
  81. fives.
  82.  
  83.  
  84. Laplace or not? :
  85. You may sometimes  complain  about  a certain combination of 
  86. dice appearing too often.  Here  are  the  results of a test 
  87. with 960 dice:
  88. (a) For the values from one to six, there were the following
  89. possibilities  (according  to  Laplace it  should  always be 
  90. P(X)=.166=16,6%):
  91.       P(1)=.185,     P(2)=.178,      P(3)=.146, 
  92.       P(4)=.152,     P(5)=.143,      P(6)=.196.
  93. (b)  For  the  sums   (2,3,...,12)   in  comparison  to  the
  94. statistic values:
  95.       P( 2)=.0354 to .0278,     P( 3)=.0625 to .0555,
  96.       P( 4)=.0916 to .0833,     P( 5)=.1042 to .1111,
  97.       P( 6)=.1396 to .1388,     P( 7)=.1583 to .1666,
  98.       P( 8)=.1188 to .1388,     P( 9)=.1104 to .1111,
  99.       P(10)=.0916 to .0833,     P(11)=.0500 to .0555,
  100.       P(12)=.0375 to .0278.
  101. Almost Laplace, isn't it?
  102.  
  103.  
  104.  
  105.  
  106. PS: Thanks to Robert Hofmann for his great support.
  107.  
  108.  
  109.  
  110. +++++++++++++ Also available for PC-Windows +++++++++++++++
  111.  
  112.  
  113.  
  114.  
  115.          
  116.  
  117.