Connection of 2 computers over a distance of 500m

I want to connect with my friend from the neighboring building over 500 meters; Will a wireless connection be suitable for such a connection? If not so how else can I connect with Him? We would like to share some games, movies but I’m not interested in a cable and how fast can the alternative be and what cost?
