; -----------------------------------------------------
; *** W-O-R-D-E-R  (v1.0)                           ***
; * *                                               * *
; * * implemented(*) by K. Franklin, Jan. 2004      * *
; * * e-mail address: kenf@ica.net                  * *
; * *                                               * *
; * * (*)credit & appreciations goes to Ed van Zon  * *
; * * for providing the many coding refinements     * *
; -----------------------------------------------------
; Copyright 1998-2000 Zillions Development (v1.31)

; You need to purchase Zillions of Games to load this rules file
; Visit the Zillions web site at http://www.zillions-of-games.com
;----------------------------------------------------------------

(define winconSOL5
    (and
        (or 
            (absolute-config LettA (a1 a6))
            (absolute-config LettB (a1 a6))
            (absolute-config LettC (a1 a6))
            (absolute-config LettD (a1 a6))
            (absolute-config LettE (a1 a6))
            (absolute-config LettF (a1 a6))
            (absolute-config LettG (a1 a6))
            (absolute-config LettH (a1 a6))
            (absolute-config LettI (a1 a6))
            (absolute-config LettJ (a1 a6))
            (absolute-config LettK (a1 a6))
            (absolute-config LettL (a1 a6))
            (absolute-config LettM (a1 a6))
            (absolute-config LettN (a1 a6))
            (absolute-config LettO (a1 a6))
            (absolute-config LettP (a1 a6))
            (absolute-config LettQ (a1 a6))
            (absolute-config LettR (a1 a6))
            (absolute-config LettS (a1 a6))
            (absolute-config LettT (a1 a6))
            (absolute-config LettU (a1 a6))
            (absolute-config LettV (a1 a6))
            (absolute-config LettW (a1 a6))
            (absolute-config LettX (a1 a6))
            (absolute-config LettY (a1 a6))
            (absolute-config LettZ (a1 a6))
        )
        (or 
            (absolute-config LettA (b1 b6))
            (absolute-config LettB (b1 b6))
            (absolute-config LettC (b1 b6))
            (absolute-config LettD (b1 b6))
            (absolute-config LettE (b1 b6))
            (absolute-config LettF (b1 b6))
            (absolute-config LettG (b1 b6))
            (absolute-config LettH (b1 b6))
            (absolute-config LettI (b1 b6))
            (absolute-config LettJ (b1 b6))
            (absolute-config LettK (b1 b6))
            (absolute-config LettL (b1 b6))
            (absolute-config LettM (b1 b6))
            (absolute-config LettN (b1 b6))
            (absolute-config LettO (b1 b6))
            (absolute-config LettP (b1 b6))
            (absolute-config LettQ (b1 b6))
            (absolute-config LettR (b1 b6))
            (absolute-config LettS (b1 b6))
            (absolute-config LettT (b1 b6))
            (absolute-config LettU (b1 b6))
            (absolute-config LettV (b1 b6))
            (absolute-config LettW (b1 b6))
            (absolute-config LettX (b1 b6))
            (absolute-config LettY (b1 b6))
            (absolute-config LettZ (b1 b6))
        )
        (or 
            (absolute-config LettA (c1 c6))
            (absolute-config LettB (c1 c6))
            (absolute-config LettC (c1 c6))
            (absolute-config LettD (c1 c6))
            (absolute-config LettE (c1 c6))
            (absolute-config LettF (c1 c6))
            (absolute-config LettG (c1 c6))
            (absolute-config LettH (c1 c6))
            (absolute-config LettI (c1 c6))
            (absolute-config LettJ (c1 c6))
            (absolute-config LettK (c1 c6))
            (absolute-config LettL (c1 c6))
            (absolute-config LettM (c1 c6))
            (absolute-config LettN (c1 c6))
            (absolute-config LettO (c1 c6))
            (absolute-config LettP (c1 c6))
            (absolute-config LettQ (c1 c6))
            (absolute-config LettR (c1 c6))
            (absolute-config LettS (c1 c6))
            (absolute-config LettT (c1 c6))
            (absolute-config LettU (c1 c6))
            (absolute-config LettV (c1 c6))
            (absolute-config LettW (c1 c6))
            (absolute-config LettX (c1 c6))
            (absolute-config LettY (c1 c6))
            (absolute-config LettZ (c1 c6))
        )
        (or 
            (absolute-config LettA (d1 d6))
            (absolute-config LettB (d1 d6))
            (absolute-config LettC (d1 d6))
            (absolute-config LettD (d1 d6))
            (absolute-config LettE (d1 d6))
            (absolute-config LettF (d1 d6))
            (absolute-config LettG (d1 d6))
            (absolute-config LettH (d1 d6))
            (absolute-config LettI (d1 d6))
            (absolute-config LettJ (d1 d6))
            (absolute-config LettK (d1 d6))
            (absolute-config LettL (d1 d6))
            (absolute-config LettM (d1 d6))
            (absolute-config LettN (d1 d6))
            (absolute-config LettO (d1 d6))
            (absolute-config LettP (d1 d6))
            (absolute-config LettQ (d1 d6))
            (absolute-config LettR (d1 d6))
            (absolute-config LettS (d1 d6))
            (absolute-config LettT (d1 d6))
            (absolute-config LettU (d1 d6))
            (absolute-config LettV (d1 d6))
            (absolute-config LettW (d1 d6))
            (absolute-config LettX (d1 d6))
            (absolute-config LettY (d1 d6))
            (absolute-config LettZ (d1 d6))
        )
        (or 
            (absolute-config LettA (e1 e6))
            (absolute-config LettB (e1 e6))
            (absolute-config LettC (e1 e6))
            (absolute-config LettD (e1 e6))
            (absolute-config LettE (e1 e6))
            (absolute-config LettF (e1 e6))
            (absolute-config LettG (e1 e6))
            (absolute-config LettH (e1 e6))
            (absolute-config LettI (e1 e6))
            (absolute-config LettJ (e1 e6))
            (absolute-config LettK (e1 e6))
            (absolute-config LettL (e1 e6))
            (absolute-config LettM (e1 e6))
            (absolute-config LettN (e1 e6))
            (absolute-config LettO (e1 e6))
            (absolute-config LettP (e1 e6))
            (absolute-config LettQ (e1 e6))
            (absolute-config LettR (e1 e6))
            (absolute-config LettS (e1 e6))
            (absolute-config LettT (e1 e6))
            (absolute-config LettU (e1 e6))
            (absolute-config LettV (e1 e6))
            (absolute-config LettW (e1 e6))
            (absolute-config LettX (e1 e6))
            (absolute-config LettY (e1 e6))
            (absolute-config LettZ (e1 e6))
        )
    )
)

;------------------------------------------
(define winconSOL6
    (and
        (or 
            (absolute-config LettA (a1 a6))
            (absolute-config LettB (a1 a6))
            (absolute-config LettC (a1 a6))
            (absolute-config LettD (a1 a6))
            (absolute-config LettE (a1 a6))
            (absolute-config LettF (a1 a6))
            (absolute-config LettG (a1 a6))
            (absolute-config LettH (a1 a6))
            (absolute-config LettI (a1 a6))
            (absolute-config LettJ (a1 a6))
            (absolute-config LettK (a1 a6))
            (absolute-config LettL (a1 a6))
            (absolute-config LettM (a1 a6))
            (absolute-config LettN (a1 a6))
            (absolute-config LettO (a1 a6))
            (absolute-config LettP (a1 a6))
            (absolute-config LettQ (a1 a6))
            (absolute-config LettR (a1 a6))
            (absolute-config LettS (a1 a6))
            (absolute-config LettT (a1 a6))
            (absolute-config LettU (a1 a6))
            (absolute-config LettV (a1 a6))
            (absolute-config LettW (a1 a6))
            (absolute-config LettX (a1 a6))
            (absolute-config LettY (a1 a6))
            (absolute-config LettZ (a1 a6))
        )
        (or 
            (absolute-config LettA (b1 b6))
            (absolute-config LettB (b1 b6))
            (absolute-config LettC (b1 b6))
            (absolute-config LettD (b1 b6))
            (absolute-config LettE (b1 b6))
            (absolute-config LettF (b1 b6))
            (absolute-config LettG (b1 b6))
            (absolute-config LettH (b1 b6))
            (absolute-config LettI (b1 b6))
            (absolute-config LettJ (b1 b6))
            (absolute-config LettK (b1 b6))
            (absolute-config LettL (b1 b6))
            (absolute-config LettM (b1 b6))
            (absolute-config LettN (b1 b6))
            (absolute-config LettO (b1 b6))
            (absolute-config LettP (b1 b6))
            (absolute-config LettQ (b1 b6))
            (absolute-config LettR (b1 b6))
            (absolute-config LettS (b1 b6))
            (absolute-config LettT (b1 b6))
            (absolute-config LettU (b1 b6))
            (absolute-config LettV (b1 b6))
            (absolute-config LettW (b1 b6))
            (absolute-config LettX (b1 b6))
            (absolute-config LettY (b1 b6))
            (absolute-config LettZ (b1 b6))
        )
        (or 
            (absolute-config LettA (c1 c6))
            (absolute-config LettB (c1 c6))
            (absolute-config LettC (c1 c6))
            (absolute-config LettD (c1 c6))
            (absolute-config LettE (c1 c6))
            (absolute-config LettF (c1 c6))
            (absolute-config LettG (c1 c6))
            (absolute-config LettH (c1 c6))
            (absolute-config LettI (c1 c6))
            (absolute-config LettJ (c1 c6))
            (absolute-config LettK (c1 c6))
            (absolute-config LettL (c1 c6))
            (absolute-config LettM (c1 c6))
            (absolute-config LettN (c1 c6))
            (absolute-config LettO (c1 c6))
            (absolute-config LettP (c1 c6))
            (absolute-config LettQ (c1 c6))
            (absolute-config LettR (c1 c6))
            (absolute-config LettS (c1 c6))
            (absolute-config LettT (c1 c6))
            (absolute-config LettU (c1 c6))
            (absolute-config LettV (c1 c6))
            (absolute-config LettW (c1 c6))
            (absolute-config LettX (c1 c6))
            (absolute-config LettY (c1 c6))
            (absolute-config LettZ (c1 c6))
        )
        (or 
            (absolute-config LettA (d1 d6))
            (absolute-config LettB (d1 d6))
            (absolute-config LettC (d1 d6))
            (absolute-config LettD (d1 d6))
            (absolute-config LettE (d1 d6))
            (absolute-config LettF (d1 d6))
            (absolute-config LettG (d1 d6))
            (absolute-config LettH (d1 d6))
            (absolute-config LettI (d1 d6))
            (absolute-config LettJ (d1 d6))
            (absolute-config LettK (d1 d6))
            (absolute-config LettL (d1 d6))
            (absolute-config LettM (d1 d6))
            (absolute-config LettN (d1 d6))
            (absolute-config LettO (d1 d6))
            (absolute-config LettP (d1 d6))
            (absolute-config LettQ (d1 d6))
            (absolute-config LettR (d1 d6))
            (absolute-config LettS (d1 d6))
            (absolute-config LettT (d1 d6))
            (absolute-config LettU (d1 d6))
            (absolute-config LettV (d1 d6))
            (absolute-config LettW (d1 d6))
            (absolute-config LettX (d1 d6))
            (absolute-config LettY (d1 d6))
            (absolute-config LettZ (d1 d6))
        )
        (or 
            (absolute-config LettA (e1 e6))
            (absolute-config LettB (e1 e6))
            (absolute-config LettC (e1 e6))
            (absolute-config LettD (e1 e6))
            (absolute-config LettE (e1 e6))
            (absolute-config LettF (e1 e6))
            (absolute-config LettG (e1 e6))
            (absolute-config LettH (e1 e6))
            (absolute-config LettI (e1 e6))
            (absolute-config LettJ (e1 e6))
            (absolute-config LettK (e1 e6))
            (absolute-config LettL (e1 e6))
            (absolute-config LettM (e1 e6))
            (absolute-config LettN (e1 e6))
            (absolute-config LettO (e1 e6))
            (absolute-config LettP (e1 e6))
            (absolute-config LettQ (e1 e6))
            (absolute-config LettR (e1 e6))
            (absolute-config LettS (e1 e6))
            (absolute-config LettT (e1 e6))
            (absolute-config LettU (e1 e6))
            (absolute-config LettV (e1 e6))
            (absolute-config LettW (e1 e6))
            (absolute-config LettX (e1 e6))
            (absolute-config LettY (e1 e6))
            (absolute-config LettZ (e1 e6))
        )
        (or 
            (absolute-config LettA (f1 f6))
            (absolute-config LettB (f1 f6))
            (absolute-config LettC (f1 f6))
            (absolute-config LettD (f1 f6))
            (absolute-config LettE (f1 f6))
            (absolute-config LettF (f1 f6))
            (absolute-config LettG (f1 f6))
            (absolute-config LettH (f1 f6))
            (absolute-config LettI (f1 f6))
            (absolute-config LettJ (f1 f6))
            (absolute-config LettK (f1 f6))
            (absolute-config LettL (f1 f6))
            (absolute-config LettM (f1 f6))
            (absolute-config LettN (f1 f6))
            (absolute-config LettO (f1 f6))
            (absolute-config LettP (f1 f6))
            (absolute-config LettQ (f1 f6))
            (absolute-config LettR (f1 f6))
            (absolute-config LettS (f1 f6))
            (absolute-config LettT (f1 f6))
            (absolute-config LettU (f1 f6))
            (absolute-config LettV (f1 f6))
            (absolute-config LettW (f1 f6))
            (absolute-config LettX (f1 f6))
            (absolute-config LettY (f1 f6))
            (absolute-config LettZ (f1 f6))
        )
    )
)

;------------------------------------------
(define winconSOL7
    (and
        (or 
            (absolute-config LettA (a1 a6))
            (absolute-config LettB (a1 a6))
            (absolute-config LettC (a1 a6))
            (absolute-config LettD (a1 a6))
            (absolute-config LettE (a1 a6))
            (absolute-config LettF (a1 a6))
            (absolute-config LettG (a1 a6))
            (absolute-config LettH (a1 a6))
            (absolute-config LettI (a1 a6))
            (absolute-config LettJ (a1 a6))
            (absolute-config LettK (a1 a6))
            (absolute-config LettL (a1 a6))
            (absolute-config LettM (a1 a6))
            (absolute-config LettN (a1 a6))
            (absolute-config LettO (a1 a6))
            (absolute-config LettP (a1 a6))
            (absolute-config LettQ (a1 a6))
            (absolute-config LettR (a1 a6))
            (absolute-config LettS (a1 a6))
            (absolute-config LettT (a1 a6))
            (absolute-config LettU (a1 a6))
            (absolute-config LettV (a1 a6))
            (absolute-config LettW (a1 a6))
            (absolute-config LettX (a1 a6))
            (absolute-config LettY (a1 a6))
            (absolute-config LettZ (a1 a6))
        )
        (or 
            (absolute-config LettA (b1 b6))
            (absolute-config LettB (b1 b6))
            (absolute-config LettC (b1 b6))
            (absolute-config LettD (b1 b6))
            (absolute-config LettE (b1 b6))
            (absolute-config LettF (b1 b6))
            (absolute-config LettG (b1 b6))
            (absolute-config LettH (b1 b6))
            (absolute-config LettI (b1 b6))
            (absolute-config LettJ (b1 b6))
            (absolute-config LettK (b1 b6))
            (absolute-config LettL (b1 b6))
            (absolute-config LettM (b1 b6))
            (absolute-config LettN (b1 b6))
            (absolute-config LettO (b1 b6))
            (absolute-config LettP (b1 b6))
            (absolute-config LettQ (b1 b6))
            (absolute-config LettR (b1 b6))
            (absolute-config LettS (b1 b6))
            (absolute-config LettT (b1 b6))
            (absolute-config LettU (b1 b6))
            (absolute-config LettV (b1 b6))
            (absolute-config LettW (b1 b6))
            (absolute-config LettX (b1 b6))
            (absolute-config LettY (b1 b6))
            (absolute-config LettZ (b1 b6))
        )
        (or 
            (absolute-config LettA (c1 c6))
            (absolute-config LettB (c1 c6))
            (absolute-config LettC (c1 c6))
            (absolute-config LettD (c1 c6))
            (absolute-config LettE (c1 c6))
            (absolute-config LettF (c1 c6))
            (absolute-config LettG (c1 c6))
            (absolute-config LettH (c1 c6))
            (absolute-config LettI (c1 c6))
            (absolute-config LettJ (c1 c6))
            (absolute-config LettK (c1 c6))
            (absolute-config LettL (c1 c6))
            (absolute-config LettM (c1 c6))
            (absolute-config LettN (c1 c6))
            (absolute-config LettO (c1 c6))
            (absolute-config LettP (c1 c6))
            (absolute-config LettQ (c1 c6))
            (absolute-config LettR (c1 c6))
            (absolute-config LettS (c1 c6))
            (absolute-config LettT (c1 c6))
            (absolute-config LettU (c1 c6))
            (absolute-config LettV (c1 c6))
            (absolute-config LettW (c1 c6))
            (absolute-config LettX (c1 c6))
            (absolute-config LettY (c1 c6))
            (absolute-config LettZ (c1 c6))
        )
        (or 
            (absolute-config LettA (d1 d6))
            (absolute-config LettB (d1 d6))
            (absolute-config LettC (d1 d6))
            (absolute-config LettD (d1 d6))
            (absolute-config LettE (d1 d6))
            (absolute-config LettF (d1 d6))
            (absolute-config LettG (d1 d6))
            (absolute-config LettH (d1 d6))
            (absolute-config LettI (d1 d6))
            (absolute-config LettJ (d1 d6))
            (absolute-config LettK (d1 d6))
            (absolute-config LettL (d1 d6))
            (absolute-config LettM (d1 d6))
            (absolute-config LettN (d1 d6))
            (absolute-config LettO (d1 d6))
            (absolute-config LettP (d1 d6))
            (absolute-config LettQ (d1 d6))
            (absolute-config LettR (d1 d6))
            (absolute-config LettS (d1 d6))
            (absolute-config LettT (d1 d6))
            (absolute-config LettU (d1 d6))
            (absolute-config LettV (d1 d6))
            (absolute-config LettW (d1 d6))
            (absolute-config LettX (d1 d6))
            (absolute-config LettY (d1 d6))
            (absolute-config LettZ (d1 d6))
        )
        (or 
            (absolute-config LettA (e1 e6))
            (absolute-config LettB (e1 e6))
            (absolute-config LettC (e1 e6))
            (absolute-config LettD (e1 e6))
            (absolute-config LettE (e1 e6))
            (absolute-config LettF (e1 e6))
            (absolute-config LettG (e1 e6))
            (absolute-config LettH (e1 e6))
            (absolute-config LettI (e1 e6))
            (absolute-config LettJ (e1 e6))
            (absolute-config LettK (e1 e6))
            (absolute-config LettL (e1 e6))
            (absolute-config LettM (e1 e6))
            (absolute-config LettN (e1 e6))
            (absolute-config LettO (e1 e6))
            (absolute-config LettP (e1 e6))
            (absolute-config LettQ (e1 e6))
            (absolute-config LettR (e1 e6))
            (absolute-config LettS (e1 e6))
            (absolute-config LettT (e1 e6))
            (absolute-config LettU (e1 e6))
            (absolute-config LettV (e1 e6))
            (absolute-config LettW (e1 e6))
            (absolute-config LettX (e1 e6))
            (absolute-config LettY (e1 e6))
            (absolute-config LettZ (e1 e6))
        )
        (or 
            (absolute-config LettA (f1 f6))
            (absolute-config LettB (f1 f6))
            (absolute-config LettC (f1 f6))
            (absolute-config LettD (f1 f6))
            (absolute-config LettE (f1 f6))
            (absolute-config LettF (f1 f6))
            (absolute-config LettG (f1 f6))
            (absolute-config LettH (f1 f6))
            (absolute-config LettI (f1 f6))
            (absolute-config LettJ (f1 f6))
            (absolute-config LettK (f1 f6))
            (absolute-config LettL (f1 f6))
            (absolute-config LettM (f1 f6))
            (absolute-config LettN (f1 f6))
            (absolute-config LettO (f1 f6))
            (absolute-config LettP (f1 f6))
            (absolute-config LettQ (f1 f6))
            (absolute-config LettR (f1 f6))
            (absolute-config LettS (f1 f6))
            (absolute-config LettT (f1 f6))
            (absolute-config LettU (f1 f6))
            (absolute-config LettV (f1 f6))
            (absolute-config LettW (f1 f6))
            (absolute-config LettX (f1 f6))
            (absolute-config LettY (f1 f6))
            (absolute-config LettZ (f1 f6))
        )
        (or 
            (absolute-config LettA (g1 g6))
            (absolute-config LettB (g1 g6))
            (absolute-config LettC (g1 g6))
            (absolute-config LettD (g1 g6))
            (absolute-config LettE (g1 g6))
            (absolute-config LettF (g1 g6))
            (absolute-config LettG (g1 g6))
            (absolute-config LettH (g1 g6))
            (absolute-config LettI (g1 g6))
            (absolute-config LettJ (g1 g6))
            (absolute-config LettK (g1 g6))
            (absolute-config LettL (g1 g6))
            (absolute-config LettM (g1 g6))
            (absolute-config LettN (g1 g6))
            (absolute-config LettO (g1 g6))
            (absolute-config LettP (g1 g6))
            (absolute-config LettQ (g1 g6))
            (absolute-config LettR (g1 g6))
            (absolute-config LettS (g1 g6))
            (absolute-config LettT (g1 g6))
            (absolute-config LettU (g1 g6))
            (absolute-config LettV (g1 g6))
            (absolute-config LettW (g1 g6))
            (absolute-config LettX (g1 g6))
            (absolute-config LettY (g1 g6))
            (absolute-config LettZ (g1 g6))
        )
    )
)
