day 21 - pong WIP

This commit is contained in:
Tanguy Deleplanque
2025-07-15 17:43:03 +02:00
parent 6857990be5
commit 670508261b
4 changed files with 115 additions and 0 deletions

9
021/main.py Normal file
View File

@ -0,0 +1,9 @@
from game import GameManager
from paddle import Paddle
import time
game = GameManager()
while game.game_on:
game.game_round()
time.sleep(0.1)
game.screen.exitonclick()