Before the party, criss-cross the yarn across a doorframe or down a hallway at different heights and angles.
Secure each strand at its anchor points with painter's tape or small command hooks, so it comes off cleanly after the party.
Make 10 to 20 crossing strands: some at ankle level, some at waist level, some diagonal. Tighter webs are harder, so leave a few gaps if you want guests to succeed occasionally.
One at a time, guests get from one end to the other without touching any of the strands.
A guest who touches a strand is out, or drinks, or does a dare, depending on your house rules.
Time each guest's attempt and keep a leaderboard.
The fastest clean crossing wins.