Skip to content
A diceroller for D&D with sound and light effects for the Circuit Playground Express
Branch: master
Clone or download
Latest commit 37ff1b4 May 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Initial commit May 11, 2019
README.md Update README.md May 12, 2019
code.py Added the ability to shake to roll the dice. May 11, 2019
diceroll.wav Inital version. May 11, 2019
fanfare.wav Inital version. May 11, 2019
laugh.wav Inital version. May 11, 2019

README.md

Dicebag for CPX

A diceroller for D&D with sound and light effects for the Circuit Playground Express.

Installation

Copy the code.py and three enclosed .wav files to your Circuit Playground Express.

How to Use

Button A on the CPE will trigger a d20 roll. Results are displayed as lights: red for tens, green for ones.

On a natural 20, you'll get a fanfare and a rainbow light magical moment.

On a natural 1, you will be ridiculed and the device will light up red.

Button B will re-initialize the lights for quick re-rolling.

Background

I got this cool little device at Pycon 2019, and was itching to do something fun with it. What else is a D&D nerd going to do with it? I ask you...

This was a fun little project. Please feel free to fork and improve it. Or if you are feeling generous, contribute back.

Thanks,

Chris Miller (@grueproof)

You can’t perform that action at this time.