dieroller

A machine for rolling and reading dice, to measure their fairness.

Die Roller intro

binära optioner bästa The Die Roller1 is a folly project I’ve been working on over the past couple of years to determine whether a given game-playing die or set of dice are fair. It consists of a machine that rolls a die over and over, a camera that takes a photograph of the die after each roll, a computer program that recognizes which die face is in each picture, and some statistical analysis software.

I’m interested in answering some simple questions, like “Are my (or your) favorite Dungeons and Dragons dice reasonably fair?”, as well as some deeper questions like “Which common design features help or hurt dice fairness?” and “What do we mean by ‘fair,’ anyway?”

online pharmacy premarin I’ve enjoyed this project because it combines a lot of great stuff: Electronics, mechanical engineering, computer vision, statistics, user interface design, game theory, and 3D printing. Oh, and fig bars.

opciones binarias con bonos I hope to post about more detailed aspects of the project over time, including what I learn about die design. If some aspect of the project interests you, please comment - I’d like to see what purpose this could serve in the wider world.


  1. curso gratuito opções binarias Needs a flashier name - any suggestions? Preferably with a domain name that’s not currently taken??  read more...

Mathematical tests for fair dice

My previous post on fair dice focused on some intuitive ideas about die fairness, and the beginnings of a mathematical approach. Now I’d like to describe the tests my die roller does. These are what I’ve settled on so far as a way to get some numbers to describe and compare the fairness of different dice.

The chi-squared test

First off, there’s the chi-squared goodness-of-fit test. This is a test that looks at the deviations in the histogram to get a total number (the chi-squared statistic) that characterizes how far the histogram deviates from ideal. You can also compare the result statistic to a mathematically-determined threshold that will give you a confidence value for the test; a 95% confidence is often chosen.

So hey, that’s great! We can reduce the whole set of results and its histogram to a single number for a given die, and then find out whether that die is fair or not with 95% confidence! Super! Right? read more...

What are fair dice?

If you like games, you’ve probably played games with dice, and you’ve probably thought about fair and unfair dice.

You might have seen “trick dice” advertised in the back of a comic book, for instance, or you might have flipped a string of heads on a coin and thought your way into the Gambler’s Fallacy or an instinctive Bayesian sense that the coin is biased towards heads.

If you have studied statistics, you’ve encountered more mathematical ways to treat these human observational instinct read more...

New overview video of the Die Roller

Thought I should post an update to the Die Roller project. It’s getting kind of useful and a lot of fun! If, you know, you’re into those sorts of things - games, statistics, computer vision, mechatronics, Fig Newtons.

http://youtu.be/FVWqVM4xyRU

Die Roller is rolling

http://youtu.be/fHL1VMb2SS0

It rolls a die, controlled by USB. It’s not done yet.

Working on this project makes me hungry for some reason.

Syndicate content