It is not permissible to bet money or anything else, except in the cases exempted by the Lawgiver, which is races with horses or camels, or archery contests. In the case of any other kind of betting, it is not permissible to take money for it, because it comes under the heading of devouring wealth unlawfully, and of gambling, which Allah and His Messenger have prohibited. As for someone saying: If this thing happens to me, then I owe you such and such, this comes under the heading of a promise, and fulfilling it is prescribed, if it is possible to do so.
Complete Answer :https://islamqa.info/en/answers/334296/ruling-on-software-having-to-do-with-betting-on-sports
Software for betting , Betting on expectation: Halal or Haraam, permissible or not permissible