Is RNG directly connected to a smart contract for distributing winnings?
Does everything happen automatically?
Yes. The whole process takes place in a decentralized mode. Your bet is stored in a smart contract; winnings are determined by the protocol without human intervention