game: advent to online

This commit is contained in:
2024-01-11 17:30:59 +01:00
parent ddc0698605
commit 134f1a8bd1
11 changed files with 151 additions and 21 deletions

8
games/objects/Game.py Normal file
View File

@ -0,0 +1,8 @@
from .Ball import Ball
from .Paddle import Paddle
class Game:
def __init__(self, paddles: [Paddle], ball: Ball) -> None:
self.ball: Ball = ball
self.paddles: [paddles] = paddles