Description:

We decided to create a dungeons & dragons dice roller program. This program consists of multiple dice ranging from a D4 to a D20 (and other dice commonly found in a game of D&D), with each having a different function during the game. For example, they can be used in a battle sequence to decide who gets to attack first, what type of attack the enemy chooses, and how much damage they have done to the enemy. An advantage/disadvantage roll function has also been included. Although the pandemic overall seems to have calmed down, many D&D sessions are held online, and thus will require an online alternative to the traditional physical dice and can also prevent cheating during the game.

Purpose of each type of dice

D20 is used to know if a particular action has been successful (ex attacks, saving throws, skill checks, perception checks, etc).

D12 is used for dealing with large weapons carried by raging barbarians and determines battle damage (who wins basically).

D10/D6 (D10 comes in sets of 2) also functions similarly but is used to figure out damage done by specific potions and spells and also used to find the percentage chance of something succeeding by the dungeon Master. D10s also occasionally are rolled twice to simulate the two digits of a D100.

D8 is used for smaller, one-handed weapons that often do 1-8 points of damage.

D4 similarly determines the damage done by the smallest weapons in Dungeons and Dragons.

When using our program, you can choose to add any combination of dice to determine a result. You may also choose to use a flat modifier for any actions that may require it. Additionally, there is an advantage/disadvantage roll feature, which works by rolling two dice and picking the larger or smaller roll respectively.

That being said, these dice don’t have to be limited to the classic D&D game and can be creatively used to spice up other board games as well using different combinations of dice. For example, you could use two d8/d10 dice in monopoly instead of the typical 2D6 rolls.

Challenges faced:

The time constraints have had a large effect in the creation of this program. Originally we had thought of creating a project of a larger scale, but were indecisive, since we were not confident in our ability to complete it within the time limits. Our indecisiveness ended up compounding the problem, as we weren’t able to decide on a specific project idea. Additionally, since this was the first hackathon either of us have participated in, there were a multitude of other inconveniences such as not having an efficient way of collaborating, due to conflicting schedules and a lack of software that allows multiple people to work on it at the same time.

Built With

Share this project:

Updates