Show HN: I built a virtual tabletop for playing Dungeons and Dragons (opens in a new tab)diceright.com
395 pointsDiceright 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!
Comments (115) 35 threads
Earlier commentsWhat we do currently:
Take a map from a PDF, load in Paint program (paint.net/photoshop/gimp/whatever), create a layer of BLACK over it. Share the screen. The DM slowly erases BLACK as we move and discover the map.
This way, the players cannot see the map. The DM can see the map. The players get to slowly discover the map.
We do dice rolls and type their output into chat. Our player sheets are player sheets, and we scanned and sent pdf's to DM. We keep group inventory via chat. Everything else is basically overkill, because it requires the DM to redesign maps via some web app and DM's already don't have time.
*edit
to be clear. we've looked into them all. the solution above is what we've now been doing for _years_ on our D&D game. Goddamn erake (our BBG).
I suppose it make a difference that we are playing Rappan Attuk and not a mainline D&D campaign. There's a lot less dungeon crawling in today's D&D, but Rappan Attuk makes up for all of it with about 600 pages of one dungeon.
I always hear the cursed phrase “I guess I attack?”
And that’s how I know the fight kind of sucks.
I often prefer "theater of the mind" over maps as that can be much more open-ended and encourage creativity. Many of the D&D podcasts use "theater of the mind", and they are great (special shout out to naddpod.com)
In the 70’s, that space was much less populated, so pencil and paper RPGs might have been the best small tactical games people could get their hands on (not everybody wanted to sell their houses for Warhammer miniatures).
D&D is rooted in a dice and miniatures, wargame, light on the scenario building
https://en.wikipedia.org/wiki/Chainmail_(game)
enough people liked it, and enough model,miniature, hobby was around that it held, and became more embellished over time.
It’s a very complex and interesting game to play. Unfortunately newer editions have gutted this gameplay by removing xp for gold (thus removing the default goal of most dungeons) and removing all of the procedural dungeon crawling rules. The tabletop form is still superior to CRPGs as your ability to interact with the world itself and overcome challenges in interesting ways is only limited by your imagination and ability to creatively apply the tools available to your character.
Not every story has to be about emotions and intrigue and a contest of minds. Sometimes you meet a monster and kill it, and loot its corpse and the only thing that's missing is taking a selfie next to it.
Then again Call of Cthulhu is one of my favourite games. I guess it's fun seeing things from the other side of the fence sometimes. But still, it's not all about feelings: you can tell a great story about how you keep running from madness-inducing monsters.
With Diceright (and Im sure with other VTTs), my goal was to help streamline certain aspects of the game so players can focus on the fun stuff. Mostly around combat and tracking all your character details. So for combat, on Diceright, you can target enemies when you attack and then when you damage them, the player gets an alert with a CTA to apply the damage - so players aren't always asking, wait who did you attack? How much was the damage again?
And on the character sheet side, with a standard character sheet, I've often found myself looking at my AC or one of my stats and not totally remembering how I got to that number. Diceright keeps track of all your bonuses for you and shows you how your stats were calculated.
Those are definitely all things you can do on your own, but it can be nice to have a computer automate them for you.
Again, totally agree that the system you've got works. Just sharing some of my considerations when I went into building this.
Two things that would make this tool easier to use:
1. Let me manually tune the grid in the VTT to the size of the grid in the image, either by selecting one square and having the system adjust the size and position of the grid to that, or by selecting some number of squares and specifying how many squares I selected, which would give a more accurate measurement.
2. Let me draw rooms with a box tool as well as walls with the wall tool, and let those rooms (by default) snap to the grid. Extra points if I can create a box and then add new vertices to drag out a less boxy shape (i.e. to add alcoves, cutouts, etc).
I haven't yet seen a VTT that can handle grids and boxes and rooms automatically, but as soon as someone figures out how to do AI or machine learning-powered map analysis to turn an image of a map into a (mostly? partly?) usable setup (with tweaks to be done afterwards) is going to get a lot of attention.
same idea starting black and slow reveal, laptop,and 2nd display, with players around the table.
the enviro sounds came later.
I wouldn’t suggest you change, but to suggest this method is in any way superior to actually learning the tools and how they work is ridiculous.
And if a DM can’t spare the hour or so to reach parity with this method, that’s gonna be a long term problem for the table.
We've found no VTT tool that can do basic fog of war _without_ loading in a bunch of other features we simply don't need.
Is it superior? I never said that, I said that the feature set was overkill.
A long term problem? Like I said above, our game has been going for _4_ years.
A big problem with these tools is the assumption that your players won't do something you didn't plan for. Which the system I described deals with well. Our DM has many times spent hours planning our game only for us to spend the entire time slot in one location, or deciding to go somewhere else. When that happens, all he has to do is roll out the setting for us to use our imaginations, or to load up a new image and black layer and share it, 5 - 10 minutes tops.
So do you just play online with strangers? Or do you also play in person?
Ah, that were great times back then...
[1] edit: That I was aware of when writing this comment initially.
Foundry's upside is that it's extensible (modules), which increases traction and nurtures a community.
Most of the FOSS attempts will probably die if they won't take that approach (extensibility that is).
They recently released a more feature-rich cloud-based V2, but simultaneously released the source and self-hostable images for their V1.
Edit: I meant to add this initially but just forgot: https://blog.owlbear.rodeo/owlbear-rodeo-legacy-edition/
Edit: See https://foundryvtt.wiki/en/development/guides/pixi
Edit2: For an example of why gamedev toolkits don't necessarily produce performant, highly usable software, check out Dungeondraft (https://dungeondraft.net/). It's built with Godot and gets the job done, but as an application it's a total mess. I'm working on an alternative but (surprise!) it's a challenge.
> Foundry is selfhostable but it's a clunky proprietary node.js application and there's a ton of janky UI issues.
I don't think it's that bizarre when a genuinely good product gets this kinda reception. It's a thankless job
All comments shown.
Couldn't load more comments. Check your connection and try again.