DnD Dice - d4 d6 d8 d10 d12 d20

{% trans 'Sorry, your browser does not support canvas -- please either update your browser or submit your requirements by phone or email.' %}

Accelerometer

Avatar for Terry Terry

This dice has 6 modes selectable by pressing button A.. Modes cycle between d4, d6, d8, d10, d12 and d20. Mode is displayed in row 0 (d4 is mode 0 and led 0 is on, d6 is mode 1 and led 1 is on ... d20 is mode 5 and all 5 leds are on) You roll the dice by (continuously) pressing button B. d4 and d20 use different sprites that the other modes to display rolls. d4 displays number using a 3*5 area. d20 introduces concept of "2 digits": 10 is drawn as a line in leds 2,3 and 4 of column 0. A roll of 20 lights up all leds, very apropos to a critical hit! Code needs to be revised if a "Generate random number" block is introduced.

Report this project

Project remixes

Back to top