Extract multiplayer logic to methods