Live data from Hacker News

Show HN: I built a virtual tabletop for playing Dungeons and Dragons

diceright.com

1–10 of 126 posts

Show HN: I built a virtual tabletop for playing Dungeons and Dragons

#1
Diceright is a virtual tabletop for playing dungeons and dragons with friends on the web. You can watch a quick overview of how it works here: https://tinyurl.com/diceright. And there’s a list of the main features right on the homepage.

It’s a Ruby on Rails site that makes heavy use of action cable for keeping the maps and tokens in sync for all players. On the front end, I’m using HTML canvas for the maps and a js library called fabric.js for interacting with the canvas. Otherwise, just jQuery on the front end. I optimized it all to work on mobile too.

I built this as a side project for fun over of the past couple years. It took a lot longer than expected, but it was also a lot of fun. I did all the design / UX for it too which was a struggle at first but was a great learning experience.

Let me know what you think and if you have any questions. Thanks!

Show HN: I built a virtual tabletop for playing Dungeons and Dragons
diceright.com

Re: Show HN: I built a virtual tabletop for playing Dungeons and Dragons

#3

Very nice! Looks like a legit VTT and not a throwaway one. What were some of the hard things about this project that you didn't expect?

Thanks!

Man, so many things. I think maybe the hardest thing was really getting into the weeds of all the class/race features and modeling them all in a way that made sense to the user and would 'just work'.

There are features that add damage, but only under some circumstances. Features that change at different levels. Features where you get to pick between a few options and then they also change at different levels. Just a lot to model out. And a lot of hard decisions about how much to automate and how much to leave on the user.

Also, designing and building it all to work on mobile ended up being more than I expected because when adding new features I often had to go back and make it mobile friendly too.

Oh and doing the dynamic lighting (where you can add walls and lights to a map and 'see' what player tokens would see) was pretty tough because it involved learning some math to do those calculations. But that was also pretty fun.

Re: Show HN: I built a virtual tabletop for playing Dungeons and Dragons

#4
I'll check out it out my desktop later and add more thoughts, but for now, on my phone it's kinda hard to get a feel for it because everything is in desktop-sized videos. Would you consider adding some mobile screenshots of the major features, perhaps?

There are a few bad tabletops out there. This one seems like it actually had a lot of thought put in! But it's hard to tell apart from the others at a glance. The videos aren't really readable on a phone and the paragraphs don't convey how each feature works.

Re: Show HN: I built a virtual tabletop for playing Dungeons and Dragons

#5
post #4

I'll check out it out my desktop later and add more thoughts, but for now, on my phone it's kinda hard to get a feel for it because everything is in desktop-sized videos. Would you consider adding some mobile screenshots of the major features, perhaps? There are a few bad tabletops out there. This one seems like it actually had a lot of thought put in! But it's hard to tell apart from the others at a glance. The vide…

Hmmm yeah that's a good point. The site does work pretty well on mobile but I didn't make any mobile videos. I'll put that on my todo list. Thanks for the feedback!

And if you do get a chance to check it out on desktop, I'd love to know what you think.

Re: Show HN: I built a virtual tabletop for playing Dungeons and Dragons

#6
Neat. My friends and I have a campaign going on roll20.net. I don't suppose there's any way to "import" our current stuff into here? Is this just for new campaigns? Our DM manages everything so I'm not entirely sure what's involved (I think he's purchased some add-ons maybe) or if this is even a sensible question.

Re: Show HN: I built a virtual tabletop for playing Dungeons and Dragons

#7
I always thought it was bizarre that there's no serious selfhostable FOSS virtual tabletop software [1]. The overlap between the two communities is very large and passionate. Foundry is selfhostable but it's a clunky proprietary node.js application and there's a ton of janky UI issues. Roll20 is far worse. I presume that this Diceright project is better since it's actually using a canvas. But why doesn't someone just use a proper game engine that can target the web (with wasm/emscripten/etc)? You're making a game after all, and it would mean that people who are happy downloading and running a native application locally for better UX would be able to.

[1] edit: That I was aware of when writing this comment initially.

Re: Show HN: I built a virtual tabletop for playing Dungeons and Dragons

#9
I "played" D&D once with some people who play quite a bit, and was confused. Maybe I was expecting more clear rules of how to "win"? It seemed like it was more of a "choose you're own adventure" story rather than a game since the dungeon master is able to change the rules as you go and pretty much decide whether or not you are "successful" with whatever goals are established at the beginning. Is that accurate? In the end, it was a little frustrating and I decided I don't get it so I've never tried again.

Re: Show HN: I built a virtual tabletop for playing Dungeons and Dragons

#10
post #6

Neat. My friends and I have a campaign going on roll20.net. I don't suppose there's any way to "import" our current stuff into here? Is this just for new campaigns? Our DM manages everything so I'm not entirely sure what's involved (I think he's purchased some add-ons maybe) or if this is even a sensible question.

Hey yeah, totally sensible question - wish I had a better answer. Unfortunately there isn't a great way to transfer an ongoing campaign. That's one of the main issues with getting folks to try out new virtual tabletops - there's some pretty established platforms already out there and there's a fair amount of lock in. Especially if you consider the assets a lot of DMs have purchased on those platforms, like you mentioned.

But I'm hoping eventually Diceright will have enough 'killer features' that people will give it a shot anyway. Would be great if you guys would consider it once you finish your current campaign. Thanks!

Post reply on HN