|
|  Rules for the game of Forty thieves
|  Written by J.Horsnell, modified by Ph.Donsback
|
|  This is a game I saw once on another machine.
|  Its stacks are of the same suit descending
|  variety. The game includes two packs of cards
|  and thus eight foundations to collect them all.
|  The pack turns one card at a time but is not
|  reuseable. You are only allowed to move 1 card
|  at a time but any card may be placed on an empty
|  stack. This really means you may move 1 card
|  plus the number of empty game stacks.
|
SCRIPT_TYPE 1
|
BEGIN "Forty thieves"

  FLAGS  ClickFly AnimateFly
  PACKS  2
  WIDTH  10 * CW 
  HEIGHT  2 * CH + 12 * COH + 4 * COH
  ZeroToWin 104 - CARDSIN$2

  FOR stack = 0 TO 7
    FOUNDATION
      X stack * CW
      Y 0
      ID 2
    END
  END

  FOR stack = 0 TO 9
    STACK
      X stack * CW
      Y CH
      FIRST 1,13
      DEAL 4,1
      DRAGUPTO 1
      FLAGS ClickFly JoinSS__ DeepCheck
      ID 1
    END
  END

  STACK
    X 8 * CW
    Y 0
    DEAL 63
    DEALTO 4,1
    TAKEFROM 0
    MAX 0
    DRAGUPTO 0
    FLAGS PaintCount
    ID 3
  END

  STACK
    X 9 * CW
    Y 0
    DEAL 0
    MAX 0
    DEAL 1,1
    DRAGUPTO 1
    FLAGS PaintLast
    ID 4
  END

END
