In virtual football betting, the outcome of a match is determined by a Random Number Generator (RNG) algorithm. The RNG uses complex mathematical algorithms to generate a sequence of random numbers that are used to determine the outcome of a virtual football match.