How to Make an Automatic Dice Roller
Adafruit shows us how to make an electronic and portable dice roller. It uses a small motor to spin a small platform, which in turn rolls the dice. As others have pointed out, it would be better if you make the platform uneven to shake the dice even more. Full guide here.