re fix Game.py syntax
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
# By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ #
|
# By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ #
|
||||||
# +#+#+#+#+#+ +#+ #
|
# +#+#+#+#+#+ +#+ #
|
||||||
# Created: 2024/09/13 16:20:58 by tomoron #+# #+# #
|
# Created: 2024/09/13 16:20:58 by tomoron #+# #+# #
|
||||||
# Updated: 2024/09/17 15:15:59 by tomoron ### ########.fr #
|
# Updated: 2024/09/17 15:18:09 by tomoron ### ########.fr #
|
||||||
# #
|
# #
|
||||||
# **************************************************************************** #
|
# **************************************************************************** #
|
||||||
|
|
||||||
@ -132,7 +132,7 @@ class Game:
|
|||||||
self.started = True
|
self.started = True
|
||||||
self.sendPlayers({"action":2})
|
self.sendPlayers({"action":2})
|
||||||
self.ballPos = {"pos":(0, 0), "up": False}
|
self.ballPos = {"pos":(0, 0), "up": False}
|
||||||
self.sendNewBallInfo(self)
|
self.sendNewBallInfo()
|
||||||
while(not self.end):
|
while(not self.end):
|
||||||
print("AAAAAAAAAAAAAAAAAAA")
|
print("AAAAAAAAAAAAAAAAAAA")
|
||||||
await asyncio.sleep(1)
|
await asyncio.sleep(1)
|
||||||
|
Reference in New Issue
Block a user