; ---------------------------------------------------
; *** Card-Pairs  V1.0  BOARD DEF's               ***
; *** BUILT UPON Karl Scherer's Pairs.zrf (v1.1)  ***
; * *                                             * *
; * * implemented by K. Franklin,  Nov. 2003      * *
; * * e-mail address: kenf@ica.net                * *
; ---------------------------------------------------
; Copyright 1998-2000 Zillions Development (v1.31)


;=====================================================================================
;============================= Board for 54 Cards ====================================
;=====================================================================================
(define Board-Definitions-Big
  (image "images\Pairs-misc\bd8x8-big.bmp")
  (grid
     (start-rectangle -800 35 -720 115 ) 
			   ;5 5 53 53) ;-667 5 -530 75  5+25=30 scorebrd on top then 5 border

     (dimensions
         ("A/B/C/D/E/F/G/H/I/J/a/b/c/d/e/f/g/h/i" (80 0)) ; files
         ("6/5/4/3/2/1" (0 80)) ; ranks
     )
     (directions
           (x 1 0)
           (e 10 0) (w -10 0)  ;connect the two boards
     )
  )

  (positions (z0 -1 -1 -1 -1);Start-indicator  

  ;--------------------------------------------------------------------------- 
  ;SCOREBOARD Positions 20x20 each at visible top right ;Left Top Right Bottom 
   	  (zz1 7 7 26 26)(zz2 27 7 46 26)(zz3 47 7 66 26) ; 3 digits
  	  (zz4 67 7 86 26)(zz5 87 7 106 26) ;2 spaces
	  (yy1 107 7 126 26)(yy2 127 7 146 26)(yy3 147 7 166 26) ; 3 digits
	  (yy4 167 7 186 26)(zz5 187 7 206 26) ;2 spaces    
  ;--------------------------------------------------------------------------- 
  )  
  (links 
      x (i1 a2)(i2 a3)(i3 a4)(i4 a5)(i5 a6)(i6 a1)
	  ;(zz3 zz2) (zz2 zz1)(zz1 zz3)(yy3 yy2) (yy2 yy1)(yy1 yy3) ;SCORING POSITIONS
  )

)


;=====================================================================================
;============================= Board for 28 Cards ====================================
;=====================================================================================
(define Board-Definitions-Sml
  (image "images\Pairs-misc\bd6x5-sml.bmp")
  (grid
     (start-rectangle -560 35 -480 115 )
			   ;5 5 53 53) ;-667 5 -530 75  5+25=30 scorebrd on top then 5 border

     (dimensions
         ("A/B/C/D/E/F/G/a/b/c/d/e/f" (80 0)) ; files
         ("5/4/3/2/1" (0 80)) ; ranks
     )
     (directions
           (x 1 0)
           (e 7 0) (w -7 0)  ;connect the two boards
     )
  )

  (positions (z0 -1 -1 -1 -1);Start-indicator  
  ;--------------------------------------------------------------------------- 
  ;SCOREBOARD Positions 20x20 each at visible top right ;Left Top Right Bottom 
   	  (zz1 7 7 26 26)(zz2 27 7 46 26)(zz3 47 7 66 26) ; 3 digits
  	  (zz4 67 7 86 26)(zz5 87 7 106 26) ;2 spaces
	  (yy1 107 7 126 26)(yy2 127 7 146 26)(yy3 147 7 166 26) ; 3 digits
	  (yy4 167 7 186 26)(zz5 187 7 206 26) ;2 spaces    
  ;--------------------------------------------------------------------------- 
  )  
  (kill-positions f1 f2) 
  (links 
      x (e1 a2)(e2 a3)(f3 a4)(f4 a5)(f5 a1)
	  ;(zz3 zz2) (zz2 zz1)(zz1 zz3)(yy3 yy2) (yy2 yy1)(yy1 yy3) ;SCORING POSITIONS
  )

)


;=====================================================================================
;========================== Board for 36 Chess Pieces ================================
;=====================================================================================
(define Board-Definitions-Chess
  (image "images\Pairs-misc\bd6x6.bmp")
  (grid
     (start-rectangle -560 35 -480 115 )
			   ;5 5 53 53) ;-667 5 -530 75  5+25=30 scorebrd on top then 5 border

     (dimensions
         ("A/B/C/D/E/F/G/a/b/c/d/e/f" (80 0)) ; files
         ("6/5/4/3/2/1" (0 80)) ; ranks
     )
     (directions
           (x 1 0)
           (e 7 0) (w -7 0)  ;connect the two boards
     )
  )

  (positions (z0 -1 -1 -1 -1);Start-indicator  
  ;--------------------------------------------------------------------------- 
  ;SCOREBOARD Positions 20x20 each at visible top right ;Left Top Right Bottom 
   	  (zz1 7 7 26 26)(zz2 27 7 46 26)(zz3 47 7 66 26) ; 3 digits
  	  (zz4 67 7 86 26)(zz5 87 7 106 26) ;2 spaces
	  (yy1 107 7 126 26)(yy2 127 7 146 26)(yy3 147 7 166 26) ; 3 digits
	  (yy4 167 7 186 26)(zz5 187 7 206 26) ;2 spaces    
  ;--------------------------------------------------------------------------- 
  )  
  (links 
      x (f1 a2)(f2 a3)(f3 a4)(f4 a5)(f5 a6)(f6 a1)
	  ;(zz3 zz2) (zz2 zz1)(zz1 zz3)(yy3 yy2) (yy2 yy1)(yy1 yy3) ;SCORING POSITIONS
  )

)
