How does multi-player work for Pokémon?

I’d like to use the additional features in pokemon X and Y