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,7 +67,8 @@ class Game:
steps = 60#random.randint(10, 60)
self.future_ball_position = await self.predict_ball_trajectory(steps)
x = 0
await self.update_bot_position()
if self.botgame:
await self.update_bot_position()
await self.handle_pad_movement()
await self.update_game_state()
await self.send_game_state()