merging with theouche ok

This commit is contained in:
CHIBOUB Chakib 2024-09-11 16:42:00 +02:00
parent 10846d90b6
commit 4d69a84bdd

View File

@ -67,6 +67,7 @@ class Game:
steps = 60#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
if self.botgame:
await self.update_bot_position() await self.update_bot_position()
await self.handle_pad_movement() await self.handle_pad_movement()
await self.update_game_state() await self.update_game_state()