mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2025-12-16 14:07:49 +01:00
steps: 60 is the key
This commit is contained in:
parent
898cecef96
commit
68ce4e2fec
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user