game: add: max score win
This commit is contained in:
@ -31,6 +31,12 @@ class Player(Spectator):
|
||||
|
||||
self.username: str = User.objects.get(pk = self.user_id).username
|
||||
|
||||
def eliminate(self):
|
||||
|
||||
self.disconnect(1000)
|
||||
|
||||
self.game.update_player(self)
|
||||
|
||||
def receive(self, data: dict):
|
||||
|
||||
detail: str = data.get("detail")
|
||||
|
Reference in New Issue
Block a user