Skip to content

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

License

Notifications You must be signed in to change notification settings

grueproof/cpxdicebag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages