Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Generation/Drunk.py
diff options
context:
space:
mode:
authorOli <olivier.belanger@umontreal.ca>2007-08-24 20:58:52 (GMT)
committer Oli <olivier.belanger@umontreal.ca>2007-08-24 20:58:52 (GMT)
commit6a209f15052e84430279a5fa66c2d661513c067f (patch)
tree1b56f610ece9888237166eb2cb8242573857b4b5 /Generation/Drunk.py
parentd6a28d7e04123f3d2b4eb6c092e0cd807865036f (diff)
META ALGO: Diverse algo on each track
Diffstat (limited to 'Generation/Drunk.py')
-rwxr-xr-xGeneration/Drunk.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Generation/Drunk.py b/Generation/Drunk.py
index 0c32e1f..1bc3bbb 100755
--- a/Generation/Drunk.py
+++ b/Generation/Drunk.py
@@ -54,7 +54,7 @@ class DroneAndJump( Drunk ):
Drunk.__init__( self, minValue, maxValue, trackLength=None )
self.minValue = min(minValue, maxValue)
self.maxValue = max(minValue, maxValue)
- self.beforeLastValue = self.minValue #random.randint( self.minValue, self.maxValue )
+ self.beforeLastValue = random.randint( self.minValue, self.maxValue ) #self.minValue
self.lastValue = self.beforeLastValue + 1
def getNextValue( self, maxStepSize, maxValue ):