Some project cleanup

This commit is contained in:
2023-02-01 22:07:20 -06:00
parent a8578c02f1
commit 2be456964a
4 changed files with 3 additions and 6 deletions

13
venture/game.py Normal file
View File

@@ -0,0 +1,13 @@
class Game:
def __init__(self, code):
self.code = code
self.locked = True
self.players = {}
def add_contestant(self, sid, signature):
self.players[sid] = Contestant(signature)
class Contestant:
def __init__(self, signature):
self.signature = signature
self.points = 0