Webpage found here: https://test-00-c77de.web.app/
This webpage is designed to show all possible values that could result in rolling certain amounts of dice. This makes it easier to determine what the likelihood of each decision would be when playing dnd, and properly understand how likely an action is to suceed when you try it in dnd.
Angular is used to build website. API calls are made to https://www.dnd5eapi.co/ to get the list of all spells in dnd. TailwindCSS and Material are used for styling components, and organizing the layout. Testing is done with Karma. Documentation is built with compodoc, and deployed to github pages using github actions. Local testing of github actions was using act by nektos. Deployment is handled by firebase.
- dice-calculations.service.ts -- This holds all the functions used in dice calculations
- spells.service.ts -- This holds all the functions used to access DnD API to get spell information
- spell.ts -- This holds all the data types used to organize data gotten from API
- diceset.ts -- This holds all the data types used to organize data related to dice rolls
- Check skillCheckCalc function on diceset details main algorithm used to calculate dice rolls
- skill-check.component.ts -- Skill Check Page
It contains frontend for calculating likelihood of skill check suceeeding.