src.game_client.app package

Submodules

src.game_client.app.client module

Module containing main class for the client program.

class src.game_client.app.client.Client[source]

Bases: object

Class representing the client.

This class handles all managers’ initialization and startup.

start(graphics=True)[source]

Start the client.

Starts the client program. Instantiates connection with server and starts a graphic manager. Keeps the server connection throughout whole duration of the session.

Parameters:
  • graphics – boolean value that indicates whether the client should run with
  • user interface or only as a console application (graphical) –
Raises:

SystemExit – if connection to server could not be established.

stop()[source]

Exits the script by raising SystemExit.

src.game_client.app.main module

Module containing entry point for the client program.

Module contents

Package that groups together all main entry point utilities for the client.