-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #675
- Loading branch information
Showing
28 changed files
with
1,593 additions
and
52 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,6 +117,7 @@ | |
from .rating_service.rating_service import RatingService | ||
from .servercontext import ServerContext | ||
from .stats.game_stats_service import GameStatsService | ||
from .tournament_service import TournamentService | ||
|
||
__author__ = "Askaholic, Chris Kitching, Dragonfire, Gael Honorez, Jeroen De Dauw, Crotalus, Michael Søndergaard, Michel Jung" | ||
__contact__ = "[email protected]" | ||
|
@@ -134,6 +135,7 @@ | |
"MessageQueueService", | ||
"OAuthService", | ||
"PartyService", | ||
"TournamentService", | ||
"PlayerService", | ||
"RatingService", | ||
"RatingService", | ||
|
@@ -145,6 +147,7 @@ | |
"run_control_server", | ||
) | ||
|
||
|
||
logger = logging.getLogger("server") | ||
|
||
if config.ENABLE_METRICS: | ||
|
@@ -197,6 +200,7 @@ def __init__( | |
party_service=self.services["party_service"], | ||
rating_service=self.services["rating_service"], | ||
oauth_service=self.services["oauth_service"], | ||
tournament_service=self.services["tournament_service"], | ||
) | ||
|
||
def write_broadcast( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import logging | ||
|
||
from . import LadderGame | ||
from .typedefs import GameType | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
||
class TournamentGame(LadderGame): | ||
"""Class for tournament games""" | ||
|
||
game_type = GameType.TOURNAMENT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.