Open trevorld opened 6 years ago
Also allow making full set of dominoes for each suit (i.e. to play Daniel Ajoy's Japan)?
I think special domino drawing function makes sense. Nice touch for drawing the faces would be horizontal line at top or half-circle of each face (which makes line or circle in center of each domino).
Instead of a special two-suited, two-ranked accessory just have one-suit and one "rank" (map the sequence of "ranks" in Unicode to the two actual ranks):
Export a utility function that maps a top rank and bottom rank to the piecepackr rank.
https://en.wikipedia.org/wiki/Dominoes#Dominoes_in_Unicode
What to do for the 7th rank if unspecified? A '6' or a blank or a suit symbol? A six is probably most robust.
Most (but not all) "numeral" dominoes have the numerals oriented "inwards".
If you do 36 (all combinations of two piecepack die rolls) can be used as "die cards" for double rolls. Add a directional marker that can also be used as "die cards". Put a border around them and a line in the middle and could be combined with the tiles to make various boards.
chose(4,2) = 6 ways to select two colors