This project is a work-in-progress! It's partly me trying to solve a problem I have, and partly me messing around with React. My style is still evolving rapidly, so forgive any messiness you might encounter.
Roll Page
The roll page needs to make a lot of calculations about what the roll will look like, what options are enabled, what are the odds of success, etc. I have called this derived state (that may change later, maybe derived props would be a better term). The functions to make this work live in the derivers/roll
folder.
Functionality
Roughly in order of importance
MVP
- Roll page
- Actually do the roll
- React / reroll
- Feed results back into character sheet after roll
- Calculate impact
- Show impact to user
- Apply impact to character
- Cancel button
- Edit mode for a character (possibly same as ^^)
- Character saved (local)
Post-MVP
- Bio page
- Gear page
- Session end / start
- Camp
- Town
- Class features
- Leveling
- Magic
- Dice math for opposed rolls
- End of session (reset traits, other per-session resources)
- Character creation / input
- Character saved (cloud)
- Undo / redo (less important with edit mode)
- Multiple characters
- Hamburger menu
- About
- Log in
- Switch characters
- Join game?
- Export / import character as JSON
- Join game with others in party
- Be able to contribute to rolls and have things update
- GM view?
Rules
UI / UX
- Swipe left / right to change page
- Animation for page changes
- Reddit - checklist for tests https://www.reddit.com/r/Torchbearer/comments/drng4p/my_checklist_for_tests/
- Burning wheel - dice roll cheat sheet - https://www.torchbearerrpg.com/wp-content/uploads/2016/10/Torchbearer-Cheat-Sheets-Dice-Rolls.pdf
- Mordite - Nature Demystified https://www.mordite.press/nature
- If recalculating derived state is too slow, consider using something like https://github.com/reduxjs/reselect
derivative work: PhJDie_Faces.png: Nanami Kamimura [CC BY-SA (https://creativecommons.org/licenses/by-sa/3.0)]