Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added clients/desktop/sounds/game_chameleon/caught.ogg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added clients/desktop/sounds/game_chameleon/draw1.ogg
Binary file not shown.
Binary file added clients/desktop/sounds/game_chameleon/draw2.ogg
Binary file not shown.
Binary file added clients/desktop/sounds/game_chameleon/draw3.ogg
Binary file not shown.
Binary file added clients/desktop/sounds/game_chameleon/draw4.ogg
Binary file not shown.
Binary file added clients/desktop/sounds/game_chameleon/music.ogg
Binary file not shown.
Binary file added clients/desktop/sounds/game_chameleon/play1.ogg
Binary file not shown.
Binary file added clients/desktop/sounds/game_chameleon/play2.ogg
Binary file not shown.
Binary file added clients/desktop/sounds/game_chameleon/play3.ogg
Binary file not shown.
Binary file added clients/desktop/sounds/game_chameleon/play4.ogg
Binary file not shown.
Binary file not shown.
Binary file added clients/desktop/sounds/game_chameleon/shuffle.ogg
Binary file not shown.
Binary file added clients/desktop/sounds/game_chameleon/voted.ogg
Binary file not shown.
Binary file added clients/desktop/sounds/game_chameleon/win.ogg
Binary file not shown.
Binary file not shown.
89 changes: 88 additions & 1 deletion server/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,88 @@
"""PlayPalace v11 Server."""
"""Game implementations."""

from .base import Game
from .registry import GameRegistry, register_game, get_game_class

# Import all games to trigger registration
from .pig.game import PigGame
from .scopa.game import ScopaGame
from .lightturret.game import LightTurretGame
from .threes.game import ThreesGame
from .milebymile.game import MileByMileGame
from .chaosbear.game import ChaosBearGame
from .farkle.game import FarkleGame
from .yahtzee.game import YahtzeeGame
from .ninetynine.game import NinetyNineGame
from .tradeoff.game import TradeoffGame
from .pirates.game import PiratesGame
from .leftrightcenter.game import LeftRightCenterGame
from .ludo.game import LudoGame
from .tossup.game import TossUpGame
from .midnight.game import MidnightGame
from .ageofheroes.game import AgeOfHeroesGame
from .fivecarddraw.game import FiveCardDrawGame
from .holdem.game import HoldemGame
from .crazyeights.game import CrazyEightsGame
from .chameleon.game import ChameleonGame

from .snakesandladders.game import SnakesAndLaddersGame
from .rollingballs.game import RollingBallsGame
from .sorry.game import SorryGame
from .metalpipe.game import MetalPipeGame
from .humanitycards.game import HumanityCardsGame
from .nine.game import NineGame
from .blackjack.game import BlackjackGame
from .twentyone import TwentyOneGame
from .chess.game import ChessGame
from .backgammon.game import BackgammonGame
from .senet.game import SenetGame

# PlayAural games
from .battleship.game import BattleshipGame
from .coup.game import CoupGame
from .dominos.game import DominosGame
from .lastcard.game import LastCardGame
from .pusoydos.game import PusoyDosGame

__all__ = [
"Game",
"GameRegistry",
"register_game",
"get_game_class",
"PigGame",
"ScopaGame",
"LightTurretGame",
"ThreesGame",
"MileByMileGame",
"ChaosBearGame",
"FarkleGame",
"YahtzeeGame",
"NinetyNineGame",
"TradeoffGame",
"PiratesGame",
"LeftRightCenterGame",
"LudoGame",
"TossUpGame",
"MidnightGame",
"AgeOfHeroesGame",
"FiveCardDrawGame",
"HoldemGame",
"CrazyEightsGame",
"ChameleonGame",
"SnakesAndLaddersGame",
"RollingBallsGame",
"SorryGame",
"MetalPipeGame",
"HumanityCardsGame",
"NineGame",
"BlackjackGame",
"TwentyOneGame",
"ChessGame",
"BackgammonGame",
"SenetGame",
"BattleshipGame",
"CoupGame",
"DominosGame",
"LastCardGame",
"PusoyDosGame",
]
5 changes: 5 additions & 0 deletions server/games/chameleon/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
"""Chameleon game package."""

from .game import ChameleonGame

__all__ = ["ChameleonGame"]
Loading
Loading