Turn users mobile to a controller ,
And play the game in other device.
Mobile connect to a websocket server with a QR code.
Main software also login to websocket.
They can comumicat with each other without time lag.