1. First get Xbox Live account (both you and your friend!). 2. Add your friend in Xbox friends. 3. Now both you and you friend must be online (no matter wifi is same or not).