Slashdot Mirror


Netbook-Run Dice Robot Can Rack Up 1.3 Million Rolls a Day

stevel writes "The owner of games site GamesByEmail.com created Dice-O-Matic, 'a machine that can belch a continuous river of dice down a spiraling ramp, then elevate, photograph, process and upload almost a million and a half rolls to the server a day. ... The Dice-O-Matic is 7 feet tall, 18 inches wide and 18 inches deep. It has an aluminum frame covered with Plexiglas panels. A 6x4 inch square Plexiglas tube runs vertically up the middle almost the entire height. Inside this tube a bucket elevator carries dice from a hopper at the bottom, past a camera, and tosses them onto a ramp at the top. The ramp spirals down between the tube and the outer walls. The camera and synchronizing disk are near the top, the computer, relay board, elevator motor and power supplies are at the bottom.' While not called out in the article, the pictures clearly show a Dell Mini 9 running the show (and performing the optical recognition of the dice values.) No, it's not running Linux."

24 of 280 comments (clear)

  1. More Like Color Recognition by eldavojohn · · Score: 5, Informative

    While not called out in the article, the pictures clearly show a Dell Mini 9 running the show (and performing the optical recognition of the dice values.)

    Yes but there's not a lot of "optical recognition" going on. From the article:

    The dice are "Michigan Red Eyes", which have different colored pips for each value. The different colors make it pretty easy to count rolls. For example, if 6 yellow dots are found in the image, there were three 2s rolled, no need to worry about determining the proper grouping or orientation of pips.

    If you control the background as being black or shades of grey (which is what it appears on that dirty dirty Windows XP screen) then your task is a lot easier and less error prone. Well done on the designer's part but surely reduces the computational work load.

    --
    My work here is dung.
    1. Re:More Like Color Recognition by SQLGuru · · Score: 5, Insightful

      In the "good old days," we called that a clever hack. Solving a problem is about simplifying the problem space in any and every way possible. I've made similar "OCR" hacks when everything was going to be in a known font and size.

    2. Re:More Like Color Recognition by cecille · · Score: 3, Informative

      That's actually a clever idea. The only real problem I can see with it is that real dice are correctly balanced so that every side has an equal chance of coming up (or they are supposed to be - real ones are). Well balanced generic cubes without the dots or with single colour dots are probably pretty hard to find, and probably more expensive given the relative cheapness of generic dice.

      --
      ...no two people are not on fire.
  2. Excellent... by ben0207 · · Score: 5, Funny

    Finally a sensible way to play a 3000 pt Imperial Guard list!

    --
    cmd-q.co.uk - some sort of stupid fucking internet bullshit
  3. Need more stats by Junior+J.+Junior+III · · Score: 3, Funny

    What's its AC and THAC0? :)

    --
    You see? You see? Your stupid minds! Stupid! Stupid!
    1. Re:Need more stats by Anonymous Coward · · Score: 3, Funny

      This is the 21st century sir.

      Your roll of Wis vs Fort is a failure. You suffer 50pts of Necrotic damage; save ends.

    2. Re:Need more stats by the+unbeliever · · Score: 3, Funny

      THAC0 is deprecated as of the latest release. Please upgrade your packages.

  4. A good first step by Drakkenmensch · · Score: 4, Funny

    Now that we've built a dice-rolling gambling robot, we just need to create a leg-breaking loanshark bookie-bot and we'll be all set to fully automize Vegas!

    1. Re:A good first step by sheetsda · · Score: 4, Funny

      fully automize Vegas!

      Someone already tried this. The machine took your debit card number, and generated a random number: if (N <= 45) { card->cash *= 2; } else { card->cash *= 0.5; }. The end result was the same, but for some reason it just didn't have the same appeal. My theory is it has something to do with the tangible dice.

    2. Re:A good first step by LandDolphin · · Score: 3, Interesting

      They are socially unpopular because yo uare betting against everyone. Craps, unlike poker, you are all on the same if. If one win, you al lwin type situation. You all want the roller to keep rolling and winning. When someone comes and bets the rolelr will lose, he is at odds with the interests of everyone else at the table.

      That beign said, I love craps. It's a lot of fun. Do I play to win money? No, but it is nice when it happens. I play for the entertainment value. The excitement of when the dice hit my number, the cheering and yelling. What other game at the casino can I stand around with complete strangers (and friends) and yell and scream and generally make an ass of myself? Sure, you get the occational noise from a winnign group at another game, but if you spend any time in a casino you will soon find out that all the noise is coming from the craps table.

      Also, if you bet wise and dont get carried away its pretty easy to play for a long while and break even. But its hard not to get swept up in the game and start betting all crazy. Dont win big if you dont bet big.

      And as for "throwing money into a hole", most entertainment is just that. You spend money on thigns that are enjoyable: A meal, a concert, camping, hookers coke and craps. At the end of each you've lost your money and gained entertment (and possibly a rash)

      --
      Spelling and Grammar errors have been added to this post for your enjoyment
  5. Jumping to conclusions by Dan+East · · Score: 4, Funny

    "No, it's not running Linux"

    I hate it when people to conclusions. Obviously, it is running linux, just with an XP-themed window manager.

    --
    Better known as 318230.
  6. Re:Why? by Domint · · Score: 5, Insightful

    Because any developer worth their weight in salt will tell you that RNGs are not truly random.

  7. Re:Why? by CheddarHead · · Score: 5, Insightful

    From TFA:

    "To generate the dice rolls, I have used Math.random, Random.org and other sources, but have always received numerous complaints that the dice are not random enough. Some players have put more effort into statistical analysis of the rolls than they put into their doctoral dissertation."

    So, basically it was to quiet complaints about the randomness of the computer generated dice rolls. I question whether it's really better, but the players think it's better and in this context I guess that's all that matters.

  8. Re:Why? by eldavojohn · · Score: 5, Interesting

    Because any developer worth their weight in salt will tell you that RNGs are not truly random.

    No, they are not truly random. Nor is his dice machine, as the dice are possibly imperfect and subject to gravity or the way it reloads them into the hopper. Influences could be anywhere.

    I would be interested in seeing him run this machine for 30 days and then compute the Shannon entropy on the results and then compare this to popular RNGs out there.

    Although I would expect the RNGs (however flawed) to perform better, it would be interesting nonetheless.

    --
    My work here is dung.
  9. Re:Why? by aurb · · Score: 5, Funny

    ...neither is anything else. (random), ...an actual random event..

    It's a good thing I have my paradox absorbing crumple zones installed...

  10. Re:Why? by Anonymous Coward · · Score: 5, Insightful

    And yet, there is probably some bias in the way that the dice are thrown. This project is cool, but as a source of random numbers it is quite silly.

    If this does not qualify as random, what does?

    A dicerolling machine external to and slightly more complex than the universe itself?

    I normally don't mind the arguments or objections that this or that is psuedo-random rather than truly random, especially when it comes to computer generated numbers designed to do X or Y.

    But really these are physical dice. If this doesn't cut it for you, what will?

  11. Re:Why? by Domint · · Score: 3, Interesting

    True. I'd like to see someone put this machine up against a currently accepted RNG routines and see which one produces more 'believably random' results.

  12. Re:What a waste, by goodmanj · · Score: 5, Funny


    it can only roll D6s.

    No problem. You can generate any die roll you like from D6's, just do a little math.

    For a D8, just roll two D6's, add them together, and then take the result modulo 8 and add 1. Poof! A random number between 1 and 8!
    .
    .
    .
    .
    (If you're furious with nerd rage right now: I'm kidding. If you're not furious: don't try this at home.)

  13. 1.3 million rolls a day! ... by tbi · · Score: 4, Funny

    ...Imagine a beowulf cluster of those...

  14. Re:What a waste, by oldspewey · · Score: 4, Funny

    You know, I never thought there would be a story on /. that could earn the "1500000d6" tag, and then this came along.

    --
    If libertarians are so opposed to effective government, why don't they all move to Somalia?
  15. Re:Why? by wjousts · · Score: 4, Interesting

    That's true RNGs are not truly random. But, then again, neither is anything else. Just sufficiently random to be indistinguishable from an actual random event.

    You fail at Quantum Mechanics.

    Hardware random number generators

  16. Re:No random, no paradox by JustOK · · Score: 3, Funny

    I have random thoughts like that all the time.

    --
    rewriting history since 2109
  17. Re:What a waste, by goodmanj · · Score: 4, Informative

    Wow. Fishing for nerds is so damned easy, they take the bait even when you put a sign on it saying "WARNING: CONTAINS FISHHOOKS".

    For a good nerd time, try working out the probability distribution table for Mod8(D6+D6)+1. I suggested it as a joke, but it's less horrible thank you might think.

  18. Re:What's so clever? by Culture20 · · Score: 4, Informative

    Why not use traditional white dice with black dots on a white background. Then it is as simple as

    visgrep <CameraImage.png> <DotImage.pat> -t 10? | wc -l

    Calculating the full image is far more work than necessary. This also easily allows for an arbitrary number of dice to be used, assuming the don't start piling on top of each other.

    Because if you count 36 dots, was that six dice with six rolled on each, or twelve threes, or ...
    Even if you can count exactly how many dice you rolled, was the total of six dots from four dice three ones and a three, or was it one plus two plus two plus one?
    I'm guessing that knowing the exact number of dice rolled and what each die rolled is important.