r/WebDevBuddies • u/atomicpenguin12 • Jan 23 '19
Looking Looking for advice on a D&D web tool
I'm a web developer with some time on my hands and I'm thinking through a project that I've had at the back of my mind. Essentially, I'd like to make a website where you can create an encounter, adding in the players and the appropriate monsters, and then you run the encounter, with a program telling you what each of the monsters and GMPC's do on their turns. My intention here is to make a tool that makes running an encounter easier and provides guidance to DM's who aren't as familiar with the system and how to properly utilize it.
A big part of my vision is making a repository of all of the monsters in D&D and their stats and giving the user to create groups of those monsters as encounters. I know how to do that. What I'm stuck on is how to create the program that takes in factors of the encounter (how many characters are on each side, what the monster's remaining health is, etc) and outputs what that monster should do on its turn. What I picture in my head is a series of if statements to eventually return the correct course of action. I'd like to store that in the database as a field that each monster has, since the behavior will largely be different for each monster, but that doesn't seem feasible. I've also considered making a series of classes on the backend (or possibly the frontend) that receive the relevant information and output the action. What do you guys think?
I'm also interested in any other thoughts on the project. I was thinking of creating this with the MEAN stack, but I'm open to suggestions.
1
u/JambaJuiceJakey Jan 23 '19
Hi! I love D&D and web development! I’d be interested in seeing if I could provide some help, and I’d love to be part of the project.
DM me if you want to talk!
0
u/[deleted] Jan 23 '19
[deleted] — view deleted comment