home *** CD-ROM | disk | FTP | other *** search
/ MORE WinGames / WINGAMES.iso / egg / eggcartn.doc next >
Text File  |  1992-12-15  |  6KB  |  120 lines

  1.                               The Egg Carton Game
  2.                                   Version 1.0
  3.                                  Programmed by
  4.                                   Paul Talbot
  5.  
  6. Background
  7.  
  8.      The Egg Carton Game is based on a game I learned from a friend back
  9. in junior high.  We played the game with 36 marbles and an empty egg
  10. carton.  Now that I'm an adult and don't have any marbles (I must have
  11. lost them <g>), I decided to write this program to simulate playing The
  12. Egg Carton game.
  13.  
  14. Rules of the Game
  15.  
  16. Initial Board Position
  17.      The initial board position consists of three marbles in each of the
  18. twelve slots of the egg carton.  (Having no artistic talent whatsoever,
  19. in Version 1.0 I have indicated the presence of marbles numerically
  20. rather than pictorially.)
  21.  
  22. Objective
  23.      The object of the game is to clear all marbles from your side of
  24. the egg carton.  The first of the two players to do so is the winner.
  25.  
  26. Moving Rules
  27.      The first player selects a slot on his side of the egg carton from
  28. which to move.  All the marbles from that slot are removed, then
  29. distributed one at a time to each subsequent slot (moving in a counter-
  30. clockwise direction).  One marble must be dropped into each slot (as far
  31. as they will go), whether or not there are already marbles in the slot,
  32. and regardless of whether the slot is your own or your opponent's.
  33. However, when making the turn from one side of the board to the other, 
  34. one marble must also be dropped "off the board" (out of the egg carton).
  35. On screen, the two slots that look like end zones of a football field
  36. are "off the board."  (Note: the number of marbles accumulated in each
  37. "end zone" is absolutely irrelevant in determining the winner.  The only 
  38. thing that matters is clearing all marbles from your side of the board.)  
  39. The point at which the marbles from the selected slot "run out" is 
  40. critical to determining what happens next.  
  41.      A) If the last marble from the initial slot is dropped off the board
  42. (either end), the player must again select a slot on his side of the
  43. board from which to move.
  44.      B) If the last marble is dropped into a slot that already had one or
  45. more marbles in it, all the marbles from that slot (including the one
  46. just dropped there) are removed and distributed counter-clockwise from
  47. that point.
  48.      C) If the last slot into which a marble is dropped was EMPTY when
  49. reached, the player's turn is over and the opponent's turn begins.
  50.  
  51. Example:
  52.      (N)   (M)   (L)   (K)   (J)   (I)
  53.    |  4  |  2  |  1  |     |  6  |  1  |
  54.    |-----------------------------------|
  55.    |  7  |  3  |  4  |  1  |     |  1  |
  56.      (A)   (B)   (C)   (D)   (E)   (F)
  57.  
  58.      If Player 1 choses to move from slot B, the 3 marbles in slot B are
  59. distributed one each to slots C, D, and E, leaving them with 5, 2 and 1
  60. marble(s), respectively.  Because the last marble was dropped in an
  61. empty slot, Player 1's turn would be over.
  62.      If Player 1 instead chose to move from slot C, 3 marbles would be
  63. distributed to slots D, E, F and the final marble would be dropped off
  64. the board. Player 1 must then select another slot from which to move.
  65.      If Player 1 chooses to move from slot A, the seven marbles are
  66. distributed one each to slots B through F (5 slots), the sixth marble is
  67. dropped off the board, and the seventh is dropped in the first slot on
  68. Player 2's side of the board, slot I.  Player 1 would then pick up the 2
  69. marbles in slot I, drop one in slot J and the other in slot K, at which
  70. point his turn ends (because slot K was empty).
  71.           
  72.      In the computerized version of The Egg Carton Game, the program 
  73. takes care of making all the marble moves for you.  You just have to 
  74. pick the slot from which you want to make your move.  Several features 
  75. built into the program help you follow the action.  Speed delays (see 
  76. Speed Options, below) allow you to watch each marble "drop" into its
  77. designated slot.  When the all-important last marble drops, the slot it
  78. landed in momentarily flashes on screen.  The program will then continue 
  79. the move from that point, or display an instruction as to what happens 
  80. next according to the rules described above.
  81.  
  82.      
  83. How to Make your Move
  84.  
  85. Mouse: Click on the slot from which you wish to move.
  86. Keyboard: Use the Alt-Key combination just outside the slot from which
  87. you wish to move.
  88.  
  89. Game Options
  90.  
  91.      Select 1 Player mode to play against the computer.  (Version 1.0 of
  92. The Egg Carton Game only offers a Novice computer opponent.)
  93.  
  94. Select 2 Player mode to play against another person.
  95.  
  96. Speed Options
  97.  
  98.      Use the speed options to adjust the speed at which the game plays
  99. on your computer.  If you are not already familiar with the Egg Carton
  100. Game, a slow speed setting will make it easier for you to follow what is
  101. happening as the computer moves the marbles.  As you grow more familiar
  102. with how the moves are made, adjust the game to play faster.  (In
  103. Version 1.0 you will have to reset your custom speed settings each time
  104. you exit and reload the game.)
  105.  
  106. Requirements
  107.  
  108.      The Egg Carton Game was written in Visual Basic*.  Therefore, it
  109. will only run under Windows* 3.0 or later, and you must have VBRUN100.DLL 
  110. (available on most major bulletin boards) installed either in a 
  111. directory on your PATH, in your Windows directory (usually C:\WINDOWS), 
  112. or in your Windows system directory (usually C:\WINDOWS\SYSTEM).
  113.  
  114.      To be able to read this file online, set the "Directory at Startup"
  115. (in Win 3.0) or the "Working Directory" (in Win 3.1) to the directory in
  116. which you install this program and this file.
  117.  
  118.  
  119. *Visual Basic and Windows are trademarks of Microsoft Corporation.
  120.