Changeset 175 for 06/devel/aglPY.py

Show
Ignore:
Timestamp:
08/21/06 10:24:49 (2 years ago)
Author:
ug
Message:

Done some more work on pattern.cc; seems to work now.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 06/devel/aglPY.py

    r174 r175  
    554554        print "Build pattern list ..." 
    555555        patternList = PatternList(pattern, fixedColorVar, nextMoveVar, self.boardsize) 
    556         print "done" # FIXME 
     556        print "done, size:", patternList.size() # FIXME 
     557        for p in range(patternList.size()):  
     558            patternList.get(p).printPattern() 
     559            if patternList.get(p).colorSwitch: print 'CS' 
    557560 
    558561        if contLabels is None: 
     
    631634        if self.progBar: self.progBar.write('%1.1f seconds' % (time.time() - startTime)) 
    632635 
    633         return numOfHits, bw, ww, sw, continuations 
     636        return numOfHits, Bwins, Wwins, numSwitched, continuations 
    634637     
    635638