Your friend has a five-letter code on their screen. Type it here.
The first friend in is Player 2 (arrow keys and Space, or the touch buttons on a phone or iPad). Up to two more can join to watch.