In RPGs (Role-Playing Games), dice probability is used to determine outcomes that impact game progression. There are seven types of dice categorized by the number of faces: d4, d6, d8, d10, d12, d20, and d100 (where the d100 die is marked in tens and, together with the d10, determines any number between 1-100). It is also important to note that, in most cases, a higher number on a dice roll means a more beneficial outcome for the character.
The idea behind the DieAll-in-One (DAIO) project is to create a single die capable of simulating all types of dice. This would be useful for all players, as it replaces multiple dice with a single object—since losing dice is common—and could also serve as a fun and cool accessory for RPG sessions.
Project Details:- A selection button will allow the user to choose the type of die to roll.
- To roll the die, it must be shaken, similar to how regular dice are used. A vibration sensor will detect when DAIO is moved in this way.
- A display will show the rolled number, functioning like a roulette, and present the result of the roll.
Depending on the roll's outcome, the device will play different sound effects:
- Bad roll → sad lose sound.
- Average roll → simple beep indicating the result.
- Good roll → victory sound.
Note: The Wokwi simulator does not have a vibration sensor to complete item 2. For this reason, the simulation replaces it with a pusshbutton to represent the shaking action.
Here is a clip of the simulation:
Comments
Please log in or sign up to comment.