As a simple Arduino-based board, I've used the MicroView to make a simple digital dice. When you move the MicroView, the dice begins to move, until it stops. When the dice stops shifting, you can see the result on the screen.
Here you can purchase the MicroView or its complete maker's kit. And here you can learn more about the MicroView.
Step 1: The Hardware work
Connect the MicroView to the power supply and the tilt sensor. I've used a USB cable to give 5V power to the MicroView. After, you connect the tilt sensor to GND and to A0 input. When you flip the Microview, this shows you the dice that rolls. After a random number of rolls, the Micro View dice stops to a face and displays the result.
Step 2: The Software work
First of all, download the Arduino IDE. The Arduino IDE is on the http://www.arduino.cc. After, you must install the MicroView library. You can do so manually by downloading it here and adding this library in Documents/Arduino/libraries. Or you can add the library automatically by searching for it via the Libraries Manager in Arduino IDE. Click on Sketch --> Includes Library --> Libraries Manager. Search in the library manager for MicroView. Now, you can upload MicroView example code. Click File --> Examples --> MicroView --> Cube. It works!
And now for the dice. Copy the code and upload it on MicroView. Here is the code file.