Skip to content

Instantly share code, notes, and snippets.

View elvis-sande's full-sized avatar

Elvis Sande elvis-sande

View GitHub Profile
/**
WHAT ARE YOUR ODDS OF WINNING FOOTBALL BETTING / JACKPOT?
TLDR:
if total cash(c) = participants(p) x individual ammount(a)
and number of bets available(b) = c / stake ammount(s)
and universe of bets in x matches(u) = 3 ^ number of matches(m)
then
percent chance(pc) = (((p x a) / s) x 100) / (3 ^ m)
pc = (b x 100) / u