Slashdot Mirror


Cheating Fruit (Slot) Machines

ebbdr writes "Ever think that fruit machines cheat you? You would be right, at least in the UK. This article provides proof that fruit machine outcomes are predetermined and that the players inputs have little, if anything to do with it. And it lets you download the emulators and machine code required to test the hypothesis for yourself...."

77 of 535 comments (clear)

  1. Damnit! by bad_fx · · Score: 4, Funny

    It thinks it's running on a real physical fruit machine and acts in exactly the same way in all circumstances (except money doesn't actually come out of your PC).

    Whew, thank god they put in that disclaimer, or I would've wasted the next 7 hours sitting here waiting for that one big payout from my PC.

    1. Re:Damnit! by ainsoph · · Score: 4, Funny

      As you know, some people are so stupid they might actually think that they could somehow win money using it. The disclaimer protects them against such idiots. Count yourself lucky you knew better. Imagine if you were the person at the 7-11 buying a pre-packaged muffin in the morning and couldnt figure out the instructions.

      Directions: Unwrap muffin, place in mouth, chew.

    2. Re:Damnit! by nih · · Score: 3, Funny

      Chew?
      and thats all there was to it?

      fs

      --
      I'm a rabbit startled by the headlights of life :(
    3. Re:Damnit! by b1t+r0t · · Score: 3, Funny
      Besides which, if there really were people that stupid, how did they get the money to come to 7-11 and buy a muffin?

      Welfare, of course.

      --

      --
      "Open source is good." - Steve Jobs
      "Open source is evil." - Microsoft
    4. Re:Damnit! by Blondie-Wan · · Score: 3, Funny

      Perhaps, but FWIW in my first job, as a summer hire working at a USAF base, I was issued work gloves that came with wearing instructions - I kid you not. Somehow I doubt the US government official or contractor who wrote them did so to be funny, either... :)

    5. Re:Damnit! by Alsee · · Score: 5, Funny

      Every year a couple of programmers try taking a shower for the first time and they are inevitable found dead a couple of days later.

      Instructions on shampoo bottles say:
      Lather; rinse; repeat.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    6. Re:Damnit! by Anonymous Coward · · Score: 3, Funny

      Some are on welfare, some become the president of the US. ;)

    7. Re:Damnit! by limbostar · · Score: 4, Funny

      That bug was fixed in 1.1; it now reads "lather, rinse, repeat as desired."

      --
      this is a sig.
    8. Re:Damnit! by Wolfrider · · Score: 2, Funny

      --Gesundheit! :P

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    9. Re:Damnit! by Boss,+Pointy+Haired · · Score: 4, Funny

      I have a theory that boredom is actually a natural self preservation mechanism designed to prevent you from getting stuck in a life threatening recursive situation.

    10. Re:Damnit! by RoninM · · Score: 4, Insightful
      Being poor doesn't make you stupid. And, more importantly, being wealthy doesn't make you smart. In fact, assuming you're not self-employed, your boss is probably an example of a person richer and dumber than you.

      The sad thing is that the very rich often believe they're richer than others because they're smarter or better than others.

      --
      If a corporation is a personhood, is owning stock slavery?
    11. Re:Damnit! by Zirnike · · Score: 2, Funny

      Was I the only one who saw 'fruit machine' and thought of this?

      --
      I'm not shy, I'm stalking my prey
  2. Vegas Machines?? by Anonymous Coward · · Score: 4, Interesting

    for the love of god, does anyone have the ROMs for the machines in vegas?? i'd love to see what the hell is going on there

    1. Re:Vegas Machines?? by JJahn · · Score: 2, Interesting

      Vegas is completely regulated as well, so I would expect that they are all predetermined also.

  3. where'd they get the rom from? by Wakkow · · Score: 4, Interesting

    I can't seem to find -where- they got the ROM from? Seems like a crucial part of it to say what particular model/version.. I mean, even the screenshots have different quality graphics.

    Not to say they're lying, but I'm not convinced of their "proof". Anyone else see something I missed?

    1. Re:where'd they get the rom from? by JaredOfEuropa · · Score: 4, Informative

      They aren't lying, the ROMs are likely to be originals, and the machines' owners are not breaking the law.

      Confused?

      The law (at least around here) does not state that the machine has to be truly random. The law merely specifies a minimum average payout. The machine probably has to cheat in order to meet the lawful minimum payout, without (obviously) exceeding it by too much.

      --
      If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
    2. Re:where'd they get the rom from? by terpia · · Score: 5, Interesting
      That's exactly what I was wondering from minute one of reading the site. They make not only make no mention of how they obtained the roms, but there is nothing saying "we'd like to, but cannot disclose how these roms were obtained/delivered". These are the only ways that I can think of:

      • Someone unlocked a machine and stole the board, and put the chip on a rom reader and dumped the code. Obviously, highly illegal.

      • Someone has a connection on the inside with someone who has access to the raw code. Not likely, (job security issues) unless someone with access to the code recently got sacked or is otherwise disgruntled. Again, obviously highly illegal.

      • This could simply be a hoax.

      Of course, if the Roms were obtained illegally - there's a perfectly good reason as to why they wouldn't disclose how they were obtained. But nonetheless, when someone is accusing a big money industry of something so severe and underhanded it seems to me that they shouldn't take the readers who are keenly interested in this for granted and expect them to believe all of thier accusations without some sort of vague effort to let the readers know that the information they are relying on is in fact somewhat trustworthy.


      Plus, if they disclosed their methods, people may be able to test the Vegas and Reno machines in the same manner, which suck up more money than all of the UK machines easily, at least I'd imagine they suck up more money given the extraordinary volume of machines and players in Vegas.

      --
      .sig wanted: Must be concise, funny, and display my cleverness.
    3. Re:where'd they get the rom from? by miasmic · · Score: 2, Informative
      I'm not sure exactly how they get the ROMs, but I imagine it's the same way people get hold of the ROMs for arcade machines, such as those used in MAME.

      It's certainly not a hoax, emulators of (UK) fruit machines and roms for them have been around for a while now, it's not like this site is the only place you can get them.

    4. Re:where'd they get the rom from? by Zeinfeld · · Score: 4, Informative
      Someone unlocked a machine and stole the board, and put the chip on a rom reader and dumped the code. Obviously, highly illegal.

      Not if you own the board. Spare parts from slot machines are pretty easy to come by. There is a whole trade in used machines, cabinets, etc.

      Slot machines are pretty common in the UK, most pubs have one. It is no more difficult to come across parts legally than it is to find parts for any other common appliance.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
    5. Re:where'd they get the rom from? by terpia · · Score: 3, Insightful
      Well, actually I felt I included those scenarios. Of course, I'm working under the assumption that the code is copyrighted and that the owners of the code (not the machine) have not given permission for their code to be reused in an emulator.


      If you bought a slot or "fruit" machine, or knew the owner of one who gave you permission to toy with it - I'm under the impression that it is illegal to pull copyrighted (and possibly patented) code off of the chip and redistribute it without permission of the copyright owner.


      Also, as far as I know - The unauthorized review or redistribution of copyrighted code is theft.

      --
      .sig wanted: Must be concise, funny, and display my cleverness.
    6. Re:where'd they get the rom from? by terpia · · Score: 2, Informative
      --
      .sig wanted: Must be concise, funny, and display my cleverness.
    7. Re:where'd they get the rom from? by Anonymous Coward · · Score: 2, Informative
      A quick peek at EastEnders and Club Monopoly shows reasonable looking files. Sizes look ok for ram image (small) and memory file (64k)

      Scanning the files with less and strings shows typical patterns. But not knowing the cpu at this point makes it hard to progress. Copyright notice prominent at the end of the rom image
      EASTENDERS COPYRIGHT OF MAYGAY MACHINES LIMITED 1996 BREACHING COPYRIGHT RESULTS IN PROSECUTION
      The readme file is informative:
      Thanks to.. Harvey & Russ - Classic
      Russ - Photos Taken of Original machine
      Skeet - Tidied Up Above Photos
      Mike - Enhanced Reel Bands
      Harvey - Playtesting & Suggestions

      www.dxcellent.com

      Note how Russ gets credit for a picture of a machine. Makes me think they got the roms out of a trash pile cause they didn't have a fully functional machine to look at. Fun

  4. Randomness in slots by Anonymous Coward · · Score: 5, Insightful

    The Random Number Generator (RNG) can be
    made to change its percentage by simply changing it's seed number. There
    are several ways this cam be done.

    1) Change the Eprom Chip with a new program and/or seed number which any
    computer technician can change a chip.
    2) Use an Eprom that has a cyclic program that will keep changing the
    seed number after predetermined numbers of cycles.
    3) Posibly change the seed number through a signal from the master
    computer or mainframe. There is no doubt that all these machines are
    hooked up to the mainframe for monitoring and/or recording data for
    expert review. It is known fact that comp cards and players records
    are fed back to the mainframe, why not other data.

    It is for this reason why I am an advocate for all Gambling to come under
    a Federal or State controlled Gambling Commission. All of what I say is
    not intended to infer that there is any tampering with slot machine
    programs and controls. I can only say from my experience as a computer
    programmer, that if the possibility exists, the probability resides.
    Therefore only an astute Gaming Commission that can oversee these
    computers and their control, will clear up this doubt and mistrust about
    slot machines.

  5. This is a surprise? by mrleemrlee · · Score: 3, Informative

    I don't know how it is in Britain, but it's well-known that U.S. slot machines pay a fixed percentage that is set by the house. The symbols that come up on the reels aren't random, and aren't advertised as such. So I'm not entirely clear why this is news.

    Maybe these kinds of machines are different in Britain, or maybe they're advertised differently ...

    1. Re:This is a surprise? by PurpleFloyd · · Score: 5, Informative
      I'm not familiar with British gambling laws either, but they make one accusation that is particularly damning: some machines have a "double or nothing" feature after a big payout; one of the site's accusations is that the "double or nothing" games are rigged so the player never wins. Still, some of this does seem fishy: their ROMs seem to feature cabinet art and other machine decorations rather than just display outputs, and the tests have been statistical rather than based on the programming.

      A really convincing argument would be based on the ROM's internal code rather than on statistical analyses of the emulator output. After all, as long as an emulator is used, there is no way to know whether the ROM really has "cheater code" built in, or whether it's an emulator bug that is causing the analyses to come up wrong.

      --

      That's it. I'm no longer part of Team Sanity.
    2. Re:This is a surprise? by cpaluc · · Score: 2, Interesting

      That's the same here in Australia where, I believe, we have the highest number of of pokies (slot machines) per capita.

      Where I live, the machines actually have little stickers on them that state the percentage return of the machine (usu. about 85% i think). The stickers must be compulsory - otherwise I don't see why the manufacturers would put them on.

    3. Re:This is a surprise? by tetrad · · Score: 3, Insightful
      The symbols that come up on the reels aren't random

      Wrong. In the US, the slots are indeed random, although of course the odds are balanced in such a way that the house wins in the long run.

      The difference between a game of chance and a scam is that a game of chance has fixed odds while a scam has fixed outcomes. If the British fruit machines are in fact behaving as described, their outcomes are fixed and they are a scam.

    4. Re:This is a surprise? by pm · · Score: 2, Interesting

      They didn't say that you never win on the "double of nothing" games, they said that it's predetermined whether or not you will win. So you have an option to play double or nothing as to whether you can guess if the next number will be higher or lower than the number that they show on the screen. It is predetermined that you will win or lose this regardless of the number that they show and what you happen to choose.

      This isn't a claim that you can't win - but that winning is predetermined.

    5. Re:This is a surprise? by PurpleFloyd · · Score: 4, Insightful
      Take a look here. According to the page, after the player wins a certain number of "double or nothing" games, the outcome is always a loss. The machine will not allow players to win more than 25 pounds (30 if you choose the other game available, which also has a loss point programmed in).

      Also, note that casinos are based on statistics, not on regulating individual payouts. While on the whole the casino will always win due to the massive scale it operates on, there is the opportunity for individual players to beat the odds and leave with more money than they came in with. Not allowing the player to win, with no element of chance whatsoever, is illegal almost everywhere. I imagine that this would fall under fraud laws at the very least, due to the fact that these machines are advertised as gambling devices based on random events.

      --

      That's it. I'm no longer part of Team Sanity.
    6. Re:This is a surprise? by Le+Marteau · · Score: 2, Informative

      I think this paragraph may address that:

      14.040 Minimum standards for gaming devices. All gaming devices submitted for approval:...
      3. Must display an accurate representation of the game outcome. After selection of the game outcome, the gaming device must not make a variable secondary decision which affects the result shown to the player

      --
      Mod down people who tell people how to mod in their sigs
  6. In Soviet Russia, the machine cheats on you! Or.. by JaredOfEuropa · · Score: 4, Informative

    Heh, I remember the gool ol' Random Runner, before it had its programming upgraded. It would offer you exactly the same gamble as the article mentions, ie. two flashing lights with 'win' and 'lose', you hit a button and one of the lights stays on. What you did on the Random Runner was keep the button depressed. If you lost, too bad, but if you won... the next level bet would start but you'd win automatically, and the next bet, and so on.

    Random Runners were popular with proprietors as well, as it was easy to obtain ROMs for these machines that would drastically lower the payout. Seeig this kind of machine is like a red flag for inspectors; they'll be sure to inspect the ROM in the machine.

    --
    If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
  7. At least it's in the UK... by Anonymous Coward · · Score: 2, Insightful

    ...because if this had happened in the US, lawyers would have already delivered a C&D to get the website shut down, and the guys who uncovered this would've been slapped with a huge DMCA lawsuit over their duplication of the functions of the machine on a PC.

    The issue of massive, provable fraud (of which Joe Average is the victim) would have been glossed over in favor of the copyright infringement nonsense (of which Huge Heartless Corp is the "victim").

  8. How else would they work? by Rimbo · · Score: 5, Informative

    I've thought about this myself. The whole key to a slot machine or a fruit machine is that you need to be able to set the "payout" percentage, typically something high like 98%. 98% means that the player gets back $0.98 on every $1, assuming he plays an infinite amount of times.

    The only way to guarantee this is by determining what the payout is as soon as the money's in the slot. The "pick high or low" and all of these other things are just meant to help keep the player interested, so that the player keeps playing.

    Slot machines use other tricks, too: You can play on multiple lines, or you can play multiple coins for higher bonuses. Obviously the bonuses are multiples of the number of coins you play, so they have zero effect on probability. Multiple lines increases the probability you'll win per spin, but it doesn't affect the probability per coin, which is what matters to the proprietor.

    This isn't a scam or cheating or anything like that. It is the same principle behind coin-op arcade machines: You pay to play. On a machine that has 98% payout and takes quarters, that means you pay (theoretically) half a cent every time you spin. In reality, you spend more or less than that depending on random outcomes, but over millions of plays on thousands of machines it means a good twopence on the pound for the Brits and two cents on the dollar for Americans.

    Companies, that is. Not for the players.

    1. Re:How else would they work? by jon_eaves · · Score: 5, Interesting

      In Australia (or Victoria at least) it's 87%, and it's done by manipulation of the payoff tables. So, a Royal Flush pays 500-1 when in fact the odds are much higher. (For video poker type machines)

      The industry is heavily regulated and government monitored. I had a friend who built the hardware and software for some of the systems, and they have hard-core maths people working for them.

      Very funny story though, there was a machine that was in one of the suburbs that had a very high frequency of migrants (Vietnamese) that was consistently paying out above the 87%. The company was suspicious they were doing something illegal causing the machine to pay out when it shouldn't.

      Turns out the guys playing the machine were statistics professors (from Vietnam) that had analysed the payoff tables and found a weakness in the payoff and under certain "unusual" circumstances (like breaking 3 of a kind and throwing away 2 Kings to go for Royal Flush) the payoff could be increased.
      The maths guys at the company were somewhat embarassed as they had to change the tables to account for this.

    2. Re:How else would they work? by SydShamino · · Score: 2

      Well, for other types of games (i.e. video poker), Nevada law requires that games that appear to have a deck of cards operate in the same way as a real deck of cards.

      Thus, if you have been dealt five cards, and hold four of them, then by law your next draw will be any one of the remaining 47 cards at random (equal probability of each). They cannot manipulate the card that you are dealt to maintain the payout percentage, win or lose.

      For slot machines, since there is no "real" equivalent, they aren't required to do this. Indeed, when you push the button (or pull the lever), the machine immediately decides if you will win or lose. The rolling wheels are just eye candy. But... it does not decide this until AFTER you push the button, so that when you put in the money (or choose to keep going instead of cashing out) there is a chance you will get it back. If the machine was programmed to make you lose the next 20 bets automatically, then there would be no chance that you would win before you put in your money, and it would constitue fraud. (You were deceived into spending money with the false belief that you might get it back, when if fact there was no chance you could get it back.)

      --
      It doesn't hurt to be nice.
  9. can't say i'm surprised... by the_instigator · · Score: 5, Funny

    I keep telling people to play the change machines instead, at least you're gonna break even on each slot session.

    1. Re:can't say i'm surprised... by Drakonian · · Score: 3, Funny

      I love putting in a 20, getting a huge stream of quarters and just screaming "JACKPOT!" with tears running down my face.

      --
      Random is the New Order.
  10. Re:Reminds me of the lottery... by outsider007 · · Score: 3, Funny

    that's why we need an open source lottery.
    here's how it will work:
    everyone sends me a buck and when I have a million, I'll pick a name from the people who sent them in (at random)
    I won't take a cut because I'm such a nice guy.

    --
    If you mod me down the terrorists will have won
  11. Re:So What? by Cederic · · Score: 4, Insightful



    Sorry, but no. On the machine tested, the pre-determined outcome of losing affects a chance to improve the winnings on an original bet. Either collect the 40p winning now, or gamble on high/low for the chance of a 60p win. Thus it is a gamble, which should carry with it the chance of actually winning.

    As stated, this equates to selling raffle tickets where there's no winning number - dishonest and should be illegal.

    ~Cederic

  12. Re:Do They Really Have Proof? by neonstz · · Score: 3, Informative

    I think this quote from the article demonstrates that kind of behaviour:

    This RAM file demonstrates the "hold dilemma". On the second spin, two cherries will appear on the second and third reels, with the option to hold. If you elect NOT to hold the cherries, a cherry will spin in on Reel 1 on the next turn, leading the player to believe holding the cherries would have yielded a win. However, if you DO hold the cherries, a red 7 will spin in on the first reel instead.

    The pseudo-code would probably look like this:

    if( something_is_held )
    {
    ....if( player_should_loose )
    ........spin_with_loosing_result();
    ....else
    ........spin_with_winning_result();
    else
    {
    .... if( player_should_loose )
    ........spin_with_result_which_would_have_been_ win_if_the_player_had_held();
    ....else
    ........s pin_with_winning_result();
    }

    (How do I create indents? :)

  13. Your Point? by A+non+moose+cow · · Score: 4, Insightful

    From the article: "And in almost all cases, no matter what you chose, the result would be the same.",

    Almost? Hmmmmm.

    Anyway, what does it matter? Everyone knows that those machines have always given out less than they take in. What difference does it make what method they use? My dad has an old British slot machine that is 100% mechanical. Even it has dials inside that allow you to increase or decrease payouts to players. Anyone who buys a slot machine intends to make money with it. If it was a gamble to own the machine, nobody would. Vegas slots are all wired together to collectively "rip you off". Is this really a news flash to anyone?

    If you can't afford to lose the money, you shouldn't put it in the machine.

  14. Re:Reminds me of the lottery... by Waffle+Iron · · Score: 3, Funny
    People aren't excited while skydiving because they expect to plummet to their death, but most of them do know it's possible.

    I doubt if anyone in history who has ever won the lottery put more into it than they got out. It's this possibility which excites people, let them have their fun.

    Of course, if you drive a few miles to the store to buy a lotto ticket, your odds of dying in a traffic accident are similar to your odds of winning (both about 20,000,000:1).

    Maybe playing lotto has more in common with skydiving than most people think.

  15. predetermined can still be random by obsid1an · · Score: 3, Insightful

    Reading this article I can't help but wonder what this group is thinking. Just because the outcome of the next roll is figured out ahead of time doesn't mean it wasn't randomly generated. It was just randomly generated earlier than anticipated.

  16. Bah... by tomakaan · · Score: 2, Funny

    It's a good thing I play blackjack...

  17. Re:what? by arevos · · Score: 5, Insightful

    I know it's a great /. tradition not to read the articles, but, for once, could you make an attempt?

    To summerise the problem, the ROM shows that the outcome of slot machines is predetermined. In the acticle it gives an example:

    "The machine has a number reel, with numbers from 1 to 12. On the reel a "10" is showing. Should you go Higher, or Lower?"

    Apparently the machine doesn't pick a number at random from 1 to 12 and compares that to your guess of higher or lower. Instead it is predetermined whether you win or lose, so whichever button you press doesn't matter.

    An emulator enables you to save and restore previous states, so that you can find out what would have happened. In this case, the author/s of the piece are saying that slot machines are predetermined things, at least in part.

    This is probably illegal, as the machine is strongly implying that your guess will affect your chances (higher than 10 is less likely than lower than 10), which is shown to be untrue. It's almost like having a fixed dice game. In a fair game you'd expect to have 1/6 chance of winning when you roll a dice. In the above slot-machine example you'd expect a 1/6 chance of winning if you pressed Higher, and a 3/4 chance of winning if you pressed Lower, and this isn't the case.

  18. Ah the lottery by Patrick+Cable+II · · Score: 2, Interesting

    Why not just stone the winners instead?

    (it's not offtopic, if you've read Shirley Jackson's The Lottery)

  19. Sometimes skill does make a difference by Len · · Score: 4, Informative

    A few years ago someone won over $600,000 from a machine at the Montreal Casino by analyzing patterns in the numbers that came up. The sequence repeated because the machine wasn't seeding the pseudo-random number generator properly. More info in Risks Digest.

  20. Don't Trust Machines!!!! by yintercept · · Score: 4, Interesting

    The problem with digital gaming machines is that it is too easy for the programmer to add twists to the algorithms that tweak the odds. It seems odd that they would bother, since the laws of probability come out in the casino's favor, they don't need to tweak the algorithm, just do a little basic math first.

    As I recall, the Nevada casinos are required to post the expected payout and odds on the machines. For example, the expected payout might be 98%. That means the casino collects on average 2 pennies every time a patron shakes the hand of a one armed bandit with a dollar bet. The casinos don't need to pull any tricks beyond calculating the expected payouts for the different states of the machine and make sure the expected payout is less than one.

    It is disconcerting knowing that there are machines which go even further.

    As I understand, a well run gaming commissions tries to assure that casinos don't bend the rules any further than that.

    1. Re:Don't Trust Machines!!!! by topham · · Score: 3, Informative

      It was explained to me by my boss at one point in time that machines in the U.S. (not sure of the locale, sorry) may be required a payout a certain percentage of the time, BUT, the machine plays ITSELF when no-one is using it.

      Any wins which occur at that time are LEGALLY counted as customer wins...

    2. Re:Don't Trust Machines!!!! by lbonser · · Score: 5, Informative

      In Nevada, the source code for any legal game is reviewed by the state Gaming Control Board before approval. So it's pretty tough (but not impossible!) for a programmer to add such twists. And when a really big jackpot is hit, the casinos have internal audit personnel that tear the machine apart to check for any sort of tampering. At this time, they also review the chips to make sure they are approved chips. Many Nevada casinos advertize 98% payback, but by law, the payout can be as low as something like 78% (not sure the exact amount, but it's down in the 70's); which means on the average, the casino makes a lot more money than just a few pennies. The payback for some table games is even worse (some are better... in Blackjack, the odds constantly shift back and forth between the player and the casino). I work for a company that makes a computer system that interfaces to slot machines; I get to play slots everyday... A good job if you can get it ;-) I also have friends that work in casinos and for actual slot manufacturers. I'm not a mathmetics expert, nor even a gaming expert, but I do sorta know a bit about it. If anyone's interested, you can check out all the rules and regulations at: http://gaming.state.nv.us/

    3. Re:Don't Trust Machines!!!! by doktor-hladnjak · · Score: 2, Interesting
      I was watching some TV program a couple of years ago on how people scam Vegas casinos. Part of the program talked about what measures (technological and otherwise) the casinos take to combat the fraud. This business with the "machines playing themselves" I think is that the machines are constantly updating their random state.

      For example, the simplest way of designing a computer-based slot machine would be to calculate the random values on each play. The problem with this approach is that random numbers generated algorithmically are not really random. Supposedly, if you knew enough about the machine's design and a certain number of the last outcomes, you could determine sequence of psuedo-random numbers being generated and therefore the sequence of future results. What really happens is that the machines are constantly "playing", that is generating these pseudo-random numbers. This means that knowing past results is not really so useful for predicting future results.

      All in all it was an interesting program. Apparently the biggest fraud of all time involves sticking some stick with a light up the are above the pay out tray. Slots use optical methods of counting coins being payed. If you stick the light up there then it thinks the last coin it tried to dispense somehow did not come. So, it just keeps paying out until it runs out of coins.

    4. Re:Don't Trust Machines!!!! by Ninja+Programmer · · Score: 2, Insightful

      If the random number distribution is a memoriless one, then it does not matter. Classic american innumeracy, and it got modded up ...

  21. Re:ho-hum by rice_burners_suck · · Score: 2, Interesting
    Seems to me that all you have to do is work out a winning sequence for a given machine at home on your emulator, or, if the RNG is different for each machine, on the machine itself, then make sure you're the first one in the casino every morning when they turn the things on. You'll clean up every time.

    Now who's cheating?

    And guess what... When YOU are the one using this "feature" to gain money, the casino owners will kick you out of the casino. It's ok when they cheat you by controlling the outcome of slots, but when you cheat them, they kick you out. That's why:

    1. I don't go to casinos.
    2. Except when I go to Indian casinos (for the food) and when I do, I do not "gamble."
    Gambling is just plain stupid anyway.
  22. Seeding has nothing to do with it by Jade+E.+2 · · Score: 4, Insightful
    A lot of people are missing the point here. The fac that their saving the random seed (and therefore you can completely repeat their sequences) has nothing to do with the problem. The problem is that the numbers generated do not follow a completely set sequence, instead they change depending on your input to make you lose.

    The example they have is that, if you follow the sequence on this page, the machine reaches a point that's supposed to be a gamble, but in fact you cannot win. And it's not because the output is predetermined, or the seed is the same and it happens to be a losing bet. It's a high/low gamble, so you should have a chance to win regardless of what the seed was. But if you pick high the machine picks low, and vice-versa. An 'honest' machine would pick the same number regardless of which button you picked.

    Of course, the legal/ethical issue is more complicated than the simple mechanical issue. The basic problem is that machines are never fair, and cannot ever be fair because their purpose is to redistribute money from your pocket to the machine owner. The large number of people who seem to think that gambling is ever fair are deluded or naive. And the problem with the specific machine referenced above is that it has the extremely difficult task of mapping a percentage payout (they mention it's probably 70%) to a more fair operation (high-low with a pair of dice). Therefore, it has to cheat sometimes to ensure it doesn't payout too much. Which is perfectly legal, and really is the only way to do it. If they actually get a law passed saying that machines cannot cheat in any circumstance, it will mean the end of gambling, because no owner in their right mind would take a real gamble, where they could lose all that money they've been raking in.

  23. Psychology of gambling by gringer · · Score: 2, Informative

    Something I have a vague recollection of from my lectures in Psychology can be applied to gambling machines.

    Apparently, the most effective way to get someone to keep doing something is to provide a reward at random intervals [of button pressing, lever pulling etc.], centered around some average. It doesn't matter how large the reward is, just as long as it is something. Most studies were carried out on rats, but humans are so similar to rats that you might as well generalise.

    For "Fruit Machines", you can encourage people to play by rewarding them randomly, but on average, say, about every 20 button pushes. The amount returned from the machine doesn't really matter in terms of how addictive the machine will be, so a 99% payout would work as well as a 80% payout.

    But then again, who ever listened to a psychologist and believed what they were saying?

    --
    Ask me about repetitive DNA
  24. Re:Reminds me of the lottery... by echucker · · Score: 2, Funny

    I've been in at least 6 car accidents in the last 30 years. I figure I'm past due to win the goddamn Lotto ;-)

  25. Re:Psychology of gambling, the study involving rat by Dr+Reducto · · Score: 2, Interesting

    In the study involving rats there were three groups:

    Group 1: Every time they pressed a lever, food came out.
    Group 2: When lever was pulled, they sometimes got more food, but most of the time, none at all.
    Group 3: Did not get any food when they pushed the lever.

    Groups 1 and 2 constantly pushed the levr in order to get food. Goup 3 stopped pressing the lever after the lack of food. At one point, the researchers stopped providing food. Group 1 stopped pressing levers, given tht there was no food. However, Group 2 thought that the big payoff and kept pushing levers anyway.

  26. Re:what? by deanj · · Score: 2, Interesting

    Actually, there probably is a random number generator....the thing is, it's always being initialized with the same seed. That's how they can be sure of what will happen in each spin of the game in the examples.

    The place where it isn't being used is the "high-low" pick (and other places). That's the kicker.

  27. How (IGT, perhaps other) slot machines work by fo0bar · · Score: 5, Informative
    I've lived in Nevada for a little over a year now, and know several people who work at IGT, a gaming manufacturer. Some of the things I learned suprised me, some didn't. All I know is the odds are definitely not in your favor. Is it illegal? Hell, no.

    First off, the article (yes, I read the article). The author's biggest peeve is that the outcome of the "double or nothing" option on the fruit machines is determined before the user even chooses. Big whoop. Whether the magic number is determined before or after you choose is meaningless; it does not affect the odds.

    Second, a previous poster mentioned the RNG. In IGT slots (and I would imagine most modern ones), the RNG device is a super-sensitive measurement device that detects tiny vibrations in the chassis. This is a much better way of seeding a number generator than any software-based solution. No, banging on the chassis won't increase your odds, but it will cause the machine to tilt and will probably get the attention of a security guard. ;) Also, the machine uses this entropy to re-seed itself thousands of times per second, not just once in the beginning.

    Lastly, there's the method for choosing if you win or loose. As soon as you press the "spin reels" button (or pull the handle on machine that still support that), the outcome is already known. Let me repeat: THE OUTCOME IS KNOWN before the reels start spinning. The actual spinning of the reels is just eye candy.

    This part takes a bit more explaining: say each reel have three symbols on them (we'll call them A, B, and C; in reality, the reels have maybe a couple dozen). In this example, C is the most favorable; you get a jackpot if you get three C's. You would think that this would mean that you would have a 1 in 27 chance of hitting the jackpot (3^3). Nope. The internal mechanism works like so: Okay, you have 3 symbols on each wheel. Inside the program, there are 3 arrays of symbols, but the number of elements inside the array is much more than 3. Say these are the arrays:

    • Reel 1: AAABBBBCCCCC
    • Reel 2: AAAABBBBCCCC
    • Reel 3: AAAAAAAABBBC
    The machine picks a random element from each array. Do you see what's going on here? There are more Cs in the first reel array, making it very likely to hit a C on the first reel. Next is a slightly less chance to hit C again. The third time is nearly impossible. Yet it builds you hope up, thinking you're about to hit the jackpot.

    Is this deceitful? Yes. Does it prey upon the stupid? Yes. Is it illegal? Nope. These methods produce a certain payout percentage, and the techniques for producing them are "public" knowledge, usually regulated by your state's gambling office.

    In conclusion, stick to blackjack.

    1. Re:How (IGT, perhaps other) slot machines work by SUB7IME · · Score: 2, Insightful

      I'm a longtime Nevada resident and agree with the entire point of your post. However, your point of contention is somewhat unrelated to the point of the article. The article is stating that the machines are rigged in a quite different way than Nevada slot machines.

      It's saying that these slot machines are programmed for you to lose. For example, say you have a '2' onscreen and you have to choose between higher (up to 10) and lower (down to 1). If you pick 'lower', you lose, and if you pick 'higher', you lose as well. These machines have no winning possibilities in certain situations, which is NOT something that IGT does!

  28. Re:ho-hum by Dominic_Mazzoni · · Score: 2, Informative

    Apparently the 'proof' that sliot machines, fruit machines as those wacky brits choose to call them, is that, if you 'freeze' the state of a fruit machine at some point and then repeat the next step, the machine will generate the same outcome.


    No, that's only half of it.

    The machine gives you a choice (typically "high" or "low" in the examples they gave), but you will always lose, NO MATTER WHICH ONE YOU CHOOSE.

    A deterministic slot machine is one thing: even if it simply paid out exactly 1 in every 10,000 spins, that would be legal.

    What's illegal (according to the authors) is that the machine presents a game and says that it's a gamble: if you choose the correct alternative (high or low) you will double your winnings, otherwise you will lose. But the machine has already decided that you will definitely lose no matter what you pick, and that's what they think is illegal under U.K. law.

    In other words, playing the game at all is a gamble. If you play, you might win (no matter what you press), or you might lose (no matter what you press). However, the game is presenting choices in the middle of the gameplay as "gambles" when in reality they don't affect the outcome.

  29. casinos are bad by bigbigbison · · Score: 2, Interesting

    As a casino employee, I can tell you that casinos are some of the most depressing places in teh world. It is amazing that these people come back, some of them every day (one customer told me he has been there every day for 18 months) and lose and lose, but when they win the sligtest bit they feel like winners. Hey moron, I just watched you put a ton of money in that machine and you're excited about $250? Wow, you're only down $300 now!
    The thing about casinos is that people think, oh maybe I'll win the nix spin/hand whatever, so they keep playing. Then when they do win, suddenly they thing they're "on a roll" and poof their goes the money they just won plus some more.
    You want to know what is even more amazing? At least half of the people who work there are just as adicted to gambling as teh customers. You would not beleive how many of my fellow emploees spend their days off at the casino down the road. See, a lot of them were former customers of the casino i work at, lost a bunch of money and were forced to get a job, so they got one at the casino. One would think that this would cure them of their addiction, but I suppose it is like an alcoholic working at a bar.
    Long story short, don't go to casinos. if you do leave your credit cards and checkbooks at home.

    --
    http://www.popularculturegaming.com -- my blog about the culture of videogame players
  30. wrong by martin-boundary · · Score: 2, Interesting
    The only way to guarantee this is by determining what the payout is as soon as the money's in the slot. The "pick high or low" and all of these other things are just meant to help keep the player interested, so that the player keeps playing.
    There's absolutely no need to make payout decisions before play starts. Slot machines and related devices are very simple to analyse probabilistically. All you need is to write down the state transition probabilities, and run matrix mutiplications. It's all elementary Markov chain theory. I analysed a couple of systems of this type for a job interview at a gaming company once (I didn't take the job).

    It's totally possible to tweak probabilities to get the desired overall payout average. The fruit machines in the story are a scam.

  31. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  32. Re:Reminds me of the lottery... by FunkSoulBrother · · Score: 2, Interesting

    I know this is a joke, but this is very similar to what the mafia does.

    If there is a pick 3 game (1 in 1000 shot) in your state which pays says $500 on a $1 ticket, the local mob is probably offering $700 dollars on the very same ticket.

    Now they are both terrible bets, but at least the mob is offering you better odds than the government.

    Of course the gov't will cry bloody murder, because it wants to keep its lottery monopoly.

  33. Online Casino Slot Machines by NightRain · · Score: 2, Informative

    I work at an online casino, and this is exactly how our games work. When you press the button to spin the wheels, the result of the game is decided then and there. This includes the results of any bonus games. The amount of your win was decided by the spin, and the bonus game itself will show whatever it needs to to show you that total amount.

    Our terms and conditions for each slot spell this out however, stating the the results of the bonus games have no effect on the actual win amount. Presumably other online casinos work the same way, and I don't think it's too big an extrapolation to state that most physical slot machines work the same way.

  34. Duh - that's why the business is profitable by Anonymous Coward · · Score: 2, Informative

    I write software for slot machines. I can confirm that it is not the display that awards prizes, but the prize that selects that display shown to the user.

    Who is the first person to handle a fledgling slot machine game? The product manager? The software engineer? The graphic artist? No, it is a mathematician, deciding the selection and frequency of pay-outs. A table of prizes is created and the reels of the game (the number of stops on each reel is tweaked to adjust the outcome) are displayed to correspond to the probability of a given pay-out.

    When you see those billboards that advertise "the loosest slots" what they mean is that the software at that particular casino has been configured to pay out, say, 95% instead of only 94%.

    The gambling industry is the only one I know of to set it own profitibility. The earnings of the casinos are assured as long as the customers play.

    All this said, so what? Even if they don't understand the math behind the games, most people are intuitively aware that "luck" is not a basis for a business plan, and that the casino always wins in the end. I don't see what all the furors is about.

  35. Re:Gambling is rigged? by Todd+Knarr · · Score: 4, Insightful

    Actually, the Vegas casinos don't cheat. They don't have to. Take roulette. They pay 35 to 1 on a winning spin. Now there's 38 numbers on an American wheel, 1-36 plus 0 and 00. That's 37 to 1 odds of winning a 35 to 1 payout. If the wheel's honest, the difference between those is 5.26%, which is the house's edge. If they don't cheat, they will get 5.26% of the money you play over the long run. This same thing applies to just about every other game on the floor, be it slots or blackjack or craps or whatnot.

    It's only "just about", though. You can spot the exceptions by a simple question: who are you playing against? In craps and blackjack, for example, you're playing against the house. The house will win over the long run. In poker, OTOH, you're playing against the other players. The house just acts as bank and neutral dealer, and takes their cut from every pot. That's because in poker there's no house edge.

    Sure, with computerized slots and such the casino could cheat, but why risk it? Nevada Gaming Control, believe it or not, is honest and all but incorruptible, and they've got enough experience that any cheating scheme a casino could use will be spotted pretty quick. The house gets their money, with honest games the nickel slots alone will pay the bills for the entire casino and everything else including the pit is pure profit. Why risk that gravy train for an extra fraction of a percent for maybe a year tops?

  36. Mersenne Twister by ajs318 · · Score: 2, Interesting
    A Mersenne Twister is just a fancy name {probably made up by some marketing type} for a pseudo-random number generator. It's a mathematical process which I found quite instructive. To quote from the ZX81 BASIC Programming Manual, chapter 5, Exercise 6 {I have taken the liberty of altering the original, pure-mathematician's style to more closely resemble a programming style}:
    Let p be a large prime, and let a be a primitive root modulo p.
    Then if b[i] is the residue of a ** i modulo p (1 .le. b[i] .lt. p - 1), the sequence
    (b[i] - 1) / (p - 1) is a cyclical sequence of p - 1 distinct mumbers in the range 0 to 1 (excluding 1). By choosing a suitably, these can be made to look fairly random.

    65537 is a Mersenne prime, 2 ** 16 - 1. Use this, and Gauss's Law of Quadratic Reciprocity, to show that 75 is a primitive root modulo 65537.

    The ZX81 uses p = 63337 and a = 75, and stores some b[i] - 1 in memory. The function RND involves replacing b[i] - 1 in memory by b[i + 1] - 1, and yielding the result (b[i + 1] - 1) / (p - 1). RAND n makes b[i] equal to n + 1.
    Skipping the heavy maths, what this is basically saying is: you start with some number, and you do the following in order: add one, multiply by 75, subtract one (*), and take note of only the last 16 bits; then put the answer through the same process, and so on over and over again; then you will get a sequence of 65536 distinct values, each possible combination of 16 bits occurring once and only once before the sequence repeats itself.

    This sequence is not random at all, but completely predetermined. Re-seeding merely jumps within the sequence to some point along its length. Re-seeding must be done at intervals to ensure some degree of randomness. Traditionally this has been done using some measure of time elapsed between switching the computer on and starting the program running; the units used must be small compared to the variance of this interval.

    True randomness would require some totally random event, such as the time interval between particle decays in a radioactive substance, or thermal noise in a semiconductor junction. {The static picked up by an unconnected input of a sound card would be an example of this phenomenon, but would also include local noise sources such as mains hum and local RF interference.} In the case of a fruit machine, the time between player operations, and the sequence of hold and cancel operations, if applicable, can be used as entropy sources.
    (*) I know, I know. You can multiply by 75 and add 74 and no-one will know or care.
    --
    Je fume. Tu fumes. Nous fûmes!
  37. As someone who used to play these way too much... by cliveholloway · · Score: 2, Interesting
    This is common knowledge and not a surprise. These things work on cycles, but the cycles are spiked with extremely baron periods and extremely genorous ones.

    Ten years ago the cycles were a lot more reliable. I used to hang out in an arcade on Leeds railway station during rush hour.

    The way to play was to pay attention to how much other players were dumping in machines. If a machine had received 75% of the jackpot without paying out, as soon as the current player left, go over and put in up to 50% of the jackpot value. Play until you win a jackpot (ignore/gamble smaller wins). 80% of the time, you'd get it. The hard part was to walk away if it hadn't paid by then :) But if you stuck to that, you were pretty much guaranteed to come out up overall. I used to make around 20 quid ($30) a night when I played - over a couple of hours, so the payback wasn't that great :)

    But then the cycles gradually got longer, with longer baron patches followed by an occasional triple jackpot (paid over three pays to avoid breaking the law!). At that point it was no longer statistically worth while playing.

    The manufacturers though are experts at intermittant reinforcement. It took me a while to quit while losing.

    Now I live in California so I don't have to worry about being able to do anything dangerous, addictive or interesting because the State very kindly makes all my bad habits illegal :) To paraphrase Eddie Izzard, "We all go down the library for a wild time" :)

    .02

    cLive ;-)

    --
    -- Trinity in high heels carrying a whip: The donimatrix - there is no spoonerism
  38. Re:Reminds me of the lottery... by RabidOverYou · · Score: 2, Interesting

    Read The Autobiography of Malcolm X. He was a numbers man at one point. You'd pick a number, and they'd use the close of the Dow Jones on the next day, down to the appropriate decimal. Public info, impossible to spoof, and pretty darn random.

    It's a terrific book!

  39. Addiction Machines by dforsey · · Score: 3, Insightful
    The fabulous property of computer-based slot machines is the total control it gives the programmer over the mark's experience. The sole purpose of the game is to keep you playing until your money runs out. All the govt keep track of is whether the % payoff is within the legal limits.


    Let's take a simple 5 symbol slot machine. With a mechanical device, the player can know they're a loser when the second wheel stops. A video slot machine can keep the suspense going right up until the last symbol... oh look! Two bars! Three! Oh sweet Jesus a fourth bar! That's 5K if the next bar comes around!


    At this point, speaking as a programmer, I'd make damn sure that the winning symbols just drifts past the window before flashing the "Deposit another $5 to NUDGE?" button.


    Since you have total control, the programmer can make the sucker believe they are coming arbitrarily close to winning without actually paying out anything. The idea is to give the sucker a lift, a high, a thrill. A glimpse of that "big win", that will keep him/her putting the money in.


    Not illegal. Just behavioural conditioning. The same thing B.F. Skinner did with pigeons.


    In his experiments the pigeons were taught to repeatedly peck a switch to get a small food reward. If the food was delivered after set number of pecks (even dozens), the bird would only peck away when it was hungry. But if the reward (food) was delivered after a random number of pecks, the bird eventually came to peck at the button continually, even frantically.


    A slot/fruit machine is nothing more than a behavioural conditioning machine that skillfully supplies small, random rewards, all the while sustaining the belief in the player that the big reward is just waiting for the next game.


    Illegal? No. Ethical? Well, gambling is a tax on the stupid.

  40. I Should be a slashdot subscriber... by mattyohe · · Score: 2, Funny

    because I just put away 180 bucks at a local casino, and I may have been able to see this article earlier.

    --
    - what is the definition of simultanagnosia?! I've been meaning to look it up!
  41. I have written slot machine software myself by Namarrgon · · Score: 4, Informative

    Though I doubt I am one of the friends of which you speak, I have written slot machine ("pokies") software for Tatts Victoria.

    I can confirm that it's heavily regulated, and the RNG used is carefully analysed for randomness, with the the payoff tables (and to a lesser degree, the ordering of the symbols on "fruit machine" types) controlling the payout (which usually varies between 83% and 91%)

    The results are only "pre-determined" at the time of the user starting the roll, but are completely random nonetheless. In other words, when the user pulls the arm (if the machine has an arm), the results of the roll (and any related results, e.g. from a "double-up") are randomly pre-selected, then the reels are spun to those positions.

    What struck me most was the incredible security and redundancy the system has. In Victoria, the legal accounting requirements are very stringent, and the manufacturers themselves have a long list of attacks they have to be proof against (from long experience - everything from massive magnetic fields to electrical cattle prods have been used to defeat a slot machine's defenses).

    For example, not only is the casing solid steel, locked and with mil-spec proofing against EMI, the CPU board and coin trays are both locked within separate steel compartments within the unit, and each requires a different key to unlock. All locks have failsafe mechanisms to record opening, and the cabinet door has a randomly-pulsed optical sensor as well.

    Particularly, the win-loss game data is recorded into triple-battery-backed static RAM, in multiple CRC'd locations, with the same data being recorded simultaneously onto physical counters, printed in duplicate to a roll of paper (on some machines), and sent in real-time via encrypted LAN to a central host, which must verify all large payouts. Every coin and every game must be accounted for under any circumstance, particularly power failure in the middle of a game.

    The coin sensors and payout mechanisms were equally sophisticated, and had to accurately deal with punters feeding large numbers of coins very rapidly into the machines, whilst still defeating "coin-on-a-string" style attacks.

    It was an interesting project, but involved considerably more than I first expected. I can say that, after many all-nighters testing, I have come to truly dislike the sound of a slot machine :-/ (Ironically, for some years my next job required me to go to tradeshows in Las Vegas - from the very moment you step off the plane, you're assaulted by pokies on all sides)

    --
    Why would anyone engrave "Elbereth"?
  42. The wins are pre-determined too by Namarrgon · · Score: 2, Informative

    The emulator sounds like it is operating correctly - the game, and all double-up/nudge results, are determined at the start of the game. The article proves that this is pre-determined, but not that players are being ripped off. The nudge results (at least in the slot machine software I wrote) were exactly a fifty-fifty chance, regardless of choice (and this was a legal requirement - slot machines are games of pure chance; no user skill element is allowed, regardless of how it appears).

    The game on the page you mention wins four nudges and loses the fifth, but the page itself is misleading. It suggests choosing Low then High then Low again in order to win the first four games, but it fails to mention that it does not matter what you choose! You can choose High then Low then High again, and the numbers will be different but the result will be the same - you will always win the first four games and lose the fifth, regardless of your choice.

    (Disclaimer: I'm too lazy to download the emulator and confirm this myself, but logically (and from my experience) it must be so - I'd happily make a bet of it ;-)

    --
    Why would anyone engrave "Elbereth"?
  43. Great Expectations - NOT! And a tip for winning! by Tsu+Dho+Nimh · · Score: 2, Informative
    And they expected anything different from a "one-armed bandit" (American slang for slot machine) or "tragamonedas" ("coin-gobbler", Mexican slang for a slot machine? The odds are set by the house, to favor the house. Period.

    BTW, I used to travel to Las Vegas to work several times a month, and often chatted with a "slot mechanic" who lived in Phoenix. He fixed the machines, set the odds, and was absolutely forbidden to set foot in a casino in Nevada except in the company of a casino official (they usually brought the slots to him, except in cases of a huge payout). He told me which machines to play ... the ones at the ends of the aisles along both sides of the route leading from the front door to the check-in desk are usually set to pay off small and often. The casino wants incoming guests to see winners. For bigger, but far less frequent payoffs, it's the machines in the middle of the rows.

  44. Re:Bad math by BlowChunx · · Score: 2, Informative

    I think that your math may be bad as well...Read this this.