A casino algorithm is a mathematical formula that dictates how online games run and operate. It is responsible for the fairness and randomness of outcomes in online casinos. The fact that they are computer programs with a set of rules makes them vulnerable to abuse by players who can quickly learn how they operate.