I think most slot machine manufacturers employ computer and software experts to ensure that their machines are well-programmed. They undergo rigorous testing and certification by independent third-party testing organizations to ensure that the game is fair and random , casinos are also highly regulated and run by government agencies that require slot machines to meet certain standards to ensure fairness to players.