socha.starter¶
This is the main entry point for the SoCha application.
Module Contents¶
Classes¶
When this is called, the client will try to connect to the server and join a game. |
- class socha.starter.Starter(logic: socha.api.networking.game_client.IClientHandler, host: str = 'localhost', port: int = 13050, reservation: str = None, room_id: str = None, password: str = None, survive: bool = False, auto_reconnect: bool = False, headless: bool = False, log: bool = False, verbose: bool = False, build: bool = False, directory: str = None, architecture: str = None, log_level: int = logging.INFO, python_version: str = '3.10')¶
When this is called, the client will try to connect to the server and join a game. When successful, the client will start the loop and call the on_update and calculate_move methods, if the server sends updates.
- _setup_debugger(verbose: bool, log_level: int)¶
- static check_socha_version()¶
- static _handle_start_args()¶