steps: 60 is the key

This commit is contained in:
CHIBOUB Chakib 2024-09-11 15:57:34 +02:00
parent 898cecef96
commit 68ce4e2fec

View File

@ -64,7 +64,7 @@ class Game:
x += 1 x += 1
if x == 60: if x == 60:
# Random BOT difficulty.. # Random BOT difficulty..
steps = random.randint(10, 60) steps = 60#random.randint(10, 60)
self.future_ball_position = await self.predict_ball_trajectory(steps) self.future_ball_position = await self.predict_ball_trajectory(steps)
x = 0 x = 0
await self.update_bot_position() await self.update_bot_position()