0 - total deposit amount. The RN is used to iterate through the list of active participants (anyone with an active deposit when the round ends).
PN < RN, the participant is not the winner. PN is then subtracted from RN to create a new RN value (
RN = RN-PN) .
PN > RN. When this happens, this participant is declared the winner! They are removed from the list.