Unless you are the engineer who built the game, and you want to land in jail, there is no way to find out the cheat codes for slot machines. The gaming commission is created to ensure that these devices are operating lawfully. Game engineers spent long hours designing the quality of the game and the effectiveness of the RNGs. The algorithms are routinely inspected, monitored, and audited to ensure that the games are working correctly.