def init(host='0.0.0.0', port=1338):
    """
    Initialize PyMLGame. This creates a controller thread that listens for game controllers and events.

    :param host: Bind to this address
    :param port: Bind to this port
    :type host: str
    :type port: int
    """
    CONTROLLER.host = host
    CONTROLLER.port = port
    CONTROLLER.setDaemon(True)  # because it's a deamon it will exit together with the main thread
    CONTROLLER.start()
Initialize PyMLGame. This creates a controller thread that listens for game controllers and events.

    :param host: Bind to this address
    :param port: Bind to this port
    :type host: str
    :type port: int