Simulate WeChat's random Red Envelope (Hongbao) splitting algorithm.
Sending digital "Hongbao" (Red Envelopes) is an incredibly popular social activity in China, especially during the Lunar New Year. WeChat's random distribution feature is famous for keeping groups engaged, as everyone hopes to be the "Luckiest King" (手气最佳).
Our Hongbao Simulator mimics the underlying mathematical algorithm used to generate these random splits, ensuring that every person receives at least ¥0.01 while keeping the distribution wildly random and fair.