By inviting your friend, you must have a Wi-Fi connection or Bluetooth so your friend can join the game.