[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pbmserv] here is the help file for Diam



> Help for Diam.
> 
> Welcome to the network Diam server.
> 
> Diam is Copyright Alain Couchot-Bernard Klein-Ferti 2003
> 
> Please visit the official Diam website:
> http://jeu.diam.free.fr
> 
> Commands for Diam.
> Diam challenge <user1> <user2> [-board=nxm] [-pieces=oxp] [-nomirror]
> 	
> 	starts a new game between user1 and user2.  The options are as follows:
>         -board=nxm : n is the number of sectors around the board; m is the 
>         maximum allowed height of stacks on each sector. Currently board size
>         (maximum allowed sectors) can be 8,10,or 12.  the stacks can be from 
> 	3 to 6 pieces high. examples: -board=10x5  -board=12x6 -board=8x3
> 	-pieces=oxp : o is the number of different colors that a player may have
>   	p is the total number of pieces per color that the players start out 
> 	with. Currently, o is from 2 to 4 and p is from 3 to 6.  
> 	examples: -pieces=2x3   -pieces=3x4   -pieces=4x6
> 
> 	The '-nomirror' option prevents the second player from placing his
> 	first piece symetrically opposite from the first player's first piece.
> 
> Diam move <boardnumber> <userid> <userpassword> <move>
> 
> 	move is either a Placement or a Movement.
> 	Placement:place a piece of your color on one of the sectors of the board
> 	syntax: <color><sector>
> 	examples:
> 	A1     // places a piece 'A' on top of any pieces already on sector 1
> 	X4     // places a piece 'X' on top of any pieces already on sector 4
> 	A9     // note that this must be a board of at least size 10
> 	
> 	Movement: move all or part of a stack one sector around board.
> 	syntax: <from location>,<bottom of part to move><+|->
> 	'+' is one space clockwise and '-' is one space counter-clockwise
> 	if the comma and 'bottom of part to move' is left off then the default
> 	is all of the stack starting at piece 1 at the very bottom of the stack
> 	note that the stack starts off with location 1 at the very bottom
> 	of the stack and counts upwards from there.
> 
> 	y  <- piece number 4
> 	A  <- piece number 3
> 	x  <- piece number 2
> 	B  <- piece number 1  this is the very bottom of the stack
>         -----------------------------------------------------------
> 
> 	examples:
> 	4+  4,1+    // moves the entire stack from sector 4 to sector 5
> 	8+  8,1+    // moves the entire stack from sector 8 to sector 1 
>                     // on an 8 sector board
> 	6,3-        // moves everything from the third piece up from sector
>                     // 6 to sector 5.  The player must own the third piece
> 	3,2+        // moves everything from the second piece up from sector
>                     // 3 to sector 4.  The player must own the second piece
> 
> 
> Rules of Diam.
> 	A player may either place a single piece on any sector of the board 
> or move all or part of a stack. A player may place one piece at a time onto 
> any sector of the board, as long as the maximum height of the stack has not 
> been exceeded.  A stack may be moved only one sector either clockwise or 
> counter-clockwise around the board.  A player may move part of a stack but 
> he must own the bottom piece of the part he is moving.  When moving part or
> all of a stack then all pieces from the bottom piece upwards on the part of 
> the stack are moved.  The part of the stack is placed on top of any pieces 
> found at the destination sector.  No stack may be higher than the maximum 
> allowed height for stacks for that board.  
> 	Winning: When two of the same pieces are at the same level and on
> opposite sides of the board then the player who owns the pieces wins.  The
> winning pieces must be higher than the first level.  If two or more pieces
> are in winning positions then the pieces that are at the highest level wins.
> 	Opposite sides of the board: for a board of 8 sectors, then sectors
> 1 and 5 are considered opposite, so are 2 and 6, 3 and 7 and 4 and 8. For a
> board of size 10, then the opposite sides (sectors) are 1 and 6, 2 and 7,
> 3 and 8, 4 and 9 and 5 and 10.  Likewise for a board of size 12. 


___
Douglas Zander  Milwaukee, Wisconsin, USA


	
		
______________________________________________________ 
Yahoo! for Good 
Donate to the Hurricane Katrina relief effort. 
http://store.yahoo.com/redcross-donate3/