Changeset 316:ae5989b3ce01


Ignore:
Timestamp:
Sep 5, 2009, 6:56:59 PM (11 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Convert:
svn:b4e93282-eac8-4b8b-b765-0f5d36de2b68@317
Message:

Fix test for time limit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gamelib/gameboard.py

    r310 r316  
    10401040        if self.trees_left() == 0:
    10411041            return True
    1042         if constants.TURN_LIMIT > 0 and self.days > constants.TURN_LIMIT:
     1042        if constants.TURN_LIMIT > 0 and self.days >= constants.TURN_LIMIT:
    10431043            return True
    10441044        if len(self.chickens) == 0:
Note: See TracChangeset for help on using the changeset viewer.