Implements Multiplayer Logic in GameThread.