Dungeons and Dragons is a complex, fantasy role-playing game, in which various players roll polyhedral dice with 4 to 20 faces to determine outcomes at various decision points. Andrew describes an electronic device he created to simulate rolling the dice using a Raspberry Pi RP2040 MCU, a TFT with touchscreen to show the rolling dice and display the scores from each roll, and an STM amplifier to add the element of drama with sound effects.
My daughter is a big fan of Dungeons and Dragons, the fantasy role-playing game. This game has been around since the 1970s but has become hugely popular during the last few years. One of the key aspects of the game mechanics is the use of polyhedral dice to decide the outcome at various decision points. A typical set of dice, shown in Figure 1, includes seven dice. Six with 4, 6, 8, 10, 12, or 20 faces (designated D4, D6, and so on), along with a second, 10-faced die, the "percent" die. As the name suggests, the "D%" die is used together with the D10 to get a score ranging from 1 to 100 percent; one die gives the tens digit and the other gives the ones digit.
There is sometimes a requirement for a Yes/No decision. This can be done in various ways - for example by using a D6 and designating odd numbers to indicate a No and even numbers a Yes, or by using a special coin-like token. There is frequently the requirement to roll several dice and use the sum of their values to determine game outcomes.
If you look online, you will see that a plethora of beautifully decorated D&D dice sets are available. The die-rolling experience is an integral part of the enjoyment of the game, and the dedicated D&D aficionado will have several sets to choose from.
この記事は Circuit Cellar の November 2024 版に掲載されています。
7 日間の Magzter GOLD 無料トライアルを開始して、何千もの厳選されたプレミアム ストーリー、9,000 以上の雑誌や新聞にアクセスしてください。
すでに購読者です ? サインイン
この記事は Circuit Cellar の November 2024 版に掲載されています。
7 日間の Magzter GOLD 無料トライアルを開始して、何千もの厳選されたプレミアム ストーリー、9,000 以上の雑誌や新聞にアクセスしてください。
すでに購読者です? サインイン
As a 'Matter of Fact
Inside atest Home Control Consolidation Attempt via Google Home and Matter-over-Thread
Industrial Computers Boost Machine Vision Systems
GPU and CPU Performance Drive Rugged Industrial Platforms
Infineon Introduces Industry's First 20 Gbps Universal USB Peripheral Controller
Infineon Technologies announced the addition of the EZUSBTM FX20 programmable USB peripheral controller to its EZ-USB product family.
Microchip Makes it Easier to Build Sophisticated GUIs for MPLAB Harmony v3 and Linux Environments
Designers are incorporating Graphical User Interfaces, or GUIs, into more electronic devices to enhance the user experience by providing intuitive and visually appealing interactions with today's modern applications.
Entertainment On Wheels
In-Dash Panels Control Head Units, Multiple Displays, Cameras and Sensors
Using Amazon Alexa to Control Custom IoT Gadgets
Integrating Voice Recognition for Smart Home Projects
Datasheet: Power Up With DC-DC Converters
Application Types Drive Parameters Beyond Efficiency and Density
D&D Die Roller with Raspberry PI RP2040
Fantastical Project Built with MCU TFT Display and LVGL Graphics
No Blues with Bluetooth!
Part 6: Bluetooth Cybersecurity Basics
LoRaWAN Goes the Distance at Low Power
IoT’s Versatile Protocol for Long-Range, Wide-Area Connectivity