# HG changeset patch # User Neil Muller # Date 1252145072 0 # Node ID 8224d1ac99c795b5b3e888e8eaf66687d9ccb6ae # Parent 1a7097c0fc8f4070ab46fc3d3542d2186dc554b1 Foxes tend to increase with time diff -r 1a7097c0fc8f -r 8224d1ac99c7 gamelib/gameboard.py --- a/gamelib/gameboard.py Sat Sep 05 09:54:47 2009 +0000 +++ b/gamelib/gameboard.py Sat Sep 05 10:04:32 2009 +0000 @@ -818,7 +818,8 @@ # Foxes spawn just outside the map x, y = 0, 0 width, height = self.tv.size - new_foxes = random.randint(3, 7) + min_foxes = (self.days+3)/2 # always more than one fox + new_foxes = random.randint(min_foxes, min_foxes*2) while len(self.foxes) < new_foxes: side = random.randint(0, 3) if side == 0: