home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / Cosmos.dxr / Internal_1.ls < prev    next >
Encoding:
Text File  |  2002-01-25  |  605 b   |  21 lines

  1. global completePuzzle, glimpseOfPuzzleTime, randomPieceLocation, equal, points
  2.  
  3. on prepareFrame
  4.   the randomSeed = the ticks
  5.   equal = 0
  6.   points = 0
  7.   completePuzzle = [[], [], [], [], [], []]
  8.   glimpseOfPuzzleTime = the ticks + 100
  9.   randomPieceLocation = []
  10.   repeat with i in [35, 408]
  11.     repeat with j in [28, 76, 124, 172, 220, 268, 316, 364, 412, 460, 508, 556]
  12.       randomPieceLocation.add(point(j, i))
  13.     end repeat
  14.   end repeat
  15.   repeat with i in [29, 84, 502, 556]
  16.     repeat with j in [76, 130, 184, 242, 298, 350]
  17.       randomPieceLocation.add(point(i, j))
  18.     end repeat
  19.   end repeat
  20. end
  21.