mirror of
https://github.com/AudebertAdrien/ft_transcendence.git
synced 2025-12-18 15:07:49 +01:00
merging with theouche ok
This commit is contained in:
parent
10846d90b6
commit
4d69a84bdd
@ -67,7 +67,8 @@ 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
|
||||||
await self.update_bot_position()
|
if self.botgame:
|
||||||
|
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()
|
||||||
await self.send_game_state()
|
await self.send_game_state()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user