And now a method, which doesn't involve removing your underwear.
If your room is large enough choose a random path from one wall to another. Take small steps by placing one foot directly in front of the other. Count the number of steps mod a small number.
If your room is large enough choose a random path from one wall to another. Take small steps by placing one foot directly in front of the other. Count the number of steps mod a small number.