From 68ce4e2fec5a9bde8c82808497b8f013468dd933 Mon Sep 17 00:00:00 2001 From: CHIBOUB Chakib Date: Wed, 11 Sep 2024 15:57:34 +0200 Subject: [PATCH] steps: 60 is the key --- pong/game/game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pong/game/game.py b/pong/game/game.py index 85f4017..b86ad52 100644 --- a/pong/game/game.py +++ b/pong/game/game.py @@ -64,7 +64,7 @@ class Game: x += 1 if x == 60: # Random BOT difficulty.. - steps = random.randint(10, 60) + steps = 60#random.randint(10, 60) self.future_ball_position = await self.predict_ball_trajectory(steps) x = 0 await self.update_bot_position()