home *** CD-ROM | disk | FTP | other *** search
- global completePuzzle, glimpseOfPuzzleTime, randomPieceLocation, equal, points
-
- on prepareFrame
- the randomSeed = the ticks
- equal = 0
- points = 0
- completePuzzle = [[], [], [], [], [], []]
- glimpseOfPuzzleTime = the ticks + 100
- randomPieceLocation = []
- repeat with i in [35, 408]
- repeat with j in [28, 76, 124, 172, 220, 268, 316, 364, 412, 460, 508, 556]
- randomPieceLocation.add(point(j, i))
- end repeat
- end repeat
- repeat with i in [29, 84, 502, 556]
- repeat with j in [76, 130, 184, 242, 298, 350]
- randomPieceLocation.add(point(i, j))
- end repeat
- end repeat
- end
-