Skip to content

Game

Class to control the whole game. Inherit from this class and call run() to start your gamecontrol

players property readonly

Instance of Player used to acces player information

on_score(self) async

Executed, when a player scores one or more points

Source code in game_sdk/passive/game.py
async def on_score(self):
    """
        Executed, when a player scores one or more points
    """

    logging.info("ON SCORE")
Back to top