The description at the beginning doesn't say the two prisoners are allowed to communicate and agree on rules for information transmission before being led into the room.
Yes it does "The jailer explains all these rules, to both you and your friend, beforehand and then gives you time to confer with each other to devise a strategy for which coin to flip."
Or it could just be assumed that both you and your friend read Hacker News. :)