MxBoud / Arduino-Catan-Dice

An Arduino Catan dice that stores and shows the game statistics.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arduino Catan Dice

See the video on Youtube

I really enjoy playing Settlers of Catan with my friends! After a game, we always end up discussing about the outcome of the game and dice rolls, commenting on how some numbers did not appear as often as we should statistically expect. I decided to build an electronic dice that can add a little bit of excitement to the game and keeps track of the statistics about the dices outcome. Picture

Statistics

Game statistics

Every time the dice is rolled, the alrogithm records the outcome. From this data, it is possible to display the number of rolls of the game, the number of times the seven (robber) was rolled and the relative percentage of outcome of all the numbers. The game statistics are erased when the Arduino is reseted.

Global statistics

In addition to the game statistics, this project uses the non-volatile EEPROM memory of the Arduino to keep tracks of the global outcome of the dice. At anytime (even after a power off), it can shows the total number of rolls, the total number of game and the relative percentage of roll of every numbers.

How to use it

After a power up, every time you momentarily push the button, the dice will be rolled. To access the game statistics and the global statitistics, the button must be pressed for more than one second. To reset the global statistics, the Arduino must be reseted and the button pressed down for more than 3 seconds after the power up.

How to build it

Parts list

Electronic schematics

Schematics

Ressources used and acknowledgement

  • The idea came by discussing with my friend Alexandre. However, after googling it, it was of course already made (here and here), but I did not found one that was keeping tracks of the statistics and was using a 3D printed cover.

  • Thanks to Nicole, Lindsay and Alexandre for testing the device with me :).

  • The code from this tutorial was very usefull!

About

An Arduino Catan dice that stores and shows the game statistics.


Languages

Language:C++ 100.0%