core: recreation of matchmaking, add: matchmaking support multiple modes
This commit is contained in:
@ -5,7 +5,7 @@ class GameModel(models.Model):
|
||||
|
||||
finished = models.BooleanField(default=False)
|
||||
started = models.BooleanField(default=False)
|
||||
winner_id = models.IntegerField(null=True, blank=True)
|
||||
winner_id = models.IntegerField(default=-1)
|
||||
|
||||
def create(self, users_id: [int]):
|
||||
self.save()
|
||||
|
Reference in New Issue
Block a user