You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen an odd syntax in some indie games, being dNxN, like d6x6 or d4x8. (Sometimes also written as d66, which is syntacally ambiguous).
The way this syntax works is that it rolls two dice and then concatenates them, producing results like 11, 12, 13, 14, 21, 22, (etc) for d4x4. Thus d6x6 produces 36 results, usually presented as a list (and not a 6 by 6 matrix).
It's more a way of generating an index into a table, and less of generating a numerical value. (So, unlikely/unable to have any further modifies like +4 or kh etc). I would recommend using x (and ×) as the syntax symbol and not *, since we'd want to continue supporting 3d6*10 expressions.
Of course, with purely digital generation one might as well write d36 and be done .. unless one needs to reference existing resources that were written with the assumption of rolling actual dice.
The text was updated successfully, but these errors were encountered:
Sorry for the late response. You do point out a difficulty where the list of results from dNxN is a list of tuples (essentially) rather than the list of integers the other two syntaxes (d and w). Essentially the syntax doesn't fit nicely with the rest of the language. Without introducing a bunch of other support for tuples or arrayed results, I'm not sure how well it would integrate in.
I'll leave it open for a bit and see if any ideas, either from myself, you, or the world at large, come up.
I've seen an odd syntax in some indie games, being
dNxN
, liked6x6
ord4x8
. (Sometimes also written asd66
, which is syntacally ambiguous).The way this syntax works is that it rolls two dice and then concatenates them, producing results like
11
,12
, 13,14
,21
,22
, (etc) ford4x4
. Thusd6x6
produces 36 results, usually presented as a list (and not a 6 by 6 matrix).It's more a way of generating an index into a table, and less of generating a numerical value. (So, unlikely/unable to have any further modifies like
+4
orkh
etc). I would recommend usingx
(and×
) as the syntax symbol and not*
, since we'd want to continue supporting3d6*10
expressions.Of course, with purely digital generation one might as well write
d36
and be done .. unless one needs to reference existing resources that were written with the assumption of rolling actual dice.The text was updated successfully, but these errors were encountered: