Replies: 4 comments 7 replies
-
|
User Interaction edit: moved major discussion points to the main post and refocused comment to be UX for better discussion readability. |
Beta Was this translation helpful? Give feedback.
-
I had a thought that we probably don't need to think too hard on how to prevent abuse. We can keep a permanent history of the rolls attached to the post, and make the full history viewable to anyone. For example: Initial post: roll 2d20 = A
> save A at time T1
> show roll A, time T1
edited post roll 2d20+10 = B
> save B at time T2
> hide roll A, time T1
> allow roll history to be viewable via button on post with timeline of rolls
edited post: roll 2d20 = ?
> check syntax of roll matches roll A
> do not reroll, reuse A
> hide roll B
> keep roll history the sameThis way, everyone can see the roll history while still immediately seeing which roll the current post has. Any edits would be visible to everyone, and would be up to GMs to handle it. Of course, we can add some extra conveniences like checking for spaces to minimize false positives. |
Beta Was this translation helpful? Give feedback.
-
TC/Plugin: I agree that we should go with a plugin for this. It gives us the most flexibility to expand the functionality past what may already exist on the site for rolling. Engine: Agree, please lets use an engine. It's less work for us and helps us avoid having to think through the many edge cases that come with expanded dice rolling mechanics. (Also less testing, blessed be!) Reviewing the engine you linked, it feels like it would provide even more possible functionality than what we have now; I like that. Thought: Could the engine that we choose help inform the syntax/notation we choose to use for our encoding? The engine will parse that notation in the backend anyway, and we'd have a reference document to write a simple starter guide from already. |
Beta Was this translation helpful? Give feedback.
-
|
I like your mockups and I really like both. The question I have is, how easy it will be to add new system/dice types? |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For discussing the architecture and design of this. Whether we use a TC or a plugin, which dice roller package to use, how do users interact with it, do we use a table?
TC or Plugin
If it's a TC, we will only have access to the frontend, whereas with a plugin, we have full access. I'm thinking we go with a plugin, that way we can use custom properties on posts or a database if we need. Also makes it difficult to alter the dice roll.
Dice Roller engine
I think we can all agree on just choosing an engine to use instead of handcrafting one? From the BBCode project, we've learned how to shove JS to run isolated in the backend and frontend, so we can search through NPM for any good ones.
I'm leaning towards rpg-dice-roller (documentation) since it seems to be the most feature complete.
User Interaction
Most definitely via posts, but how to format it? whether as an inline bbcode, or maybe as a stylized quote block? Should the roll result be integrated into the post, make a dedicated UI outside the post, or have a bot post the result?
Saving rolls
How do we prevent abuse and lock rolls? Do we seed it based on something like post time? let the bot posting handle it?
Misc features
Where do we save the rolls? In post (custom property) or as a standalone table? Do we have a standalone roll page? Do we add support for rolls in chat????
Beta Was this translation helpful? Give feedback.
All reactions