It refers to playing a dangerous game to see who is the bravest. One version is for two people in cars to speed down the road headed at each other and see who swerves first. Many people have died playing chicken. I am sure there are other variations.
Interested in Language