Game theory meets the toilet seat.