In the game Dobble ( known in the USA as "Spot it" ) , there is a pack of 55 playing cards, each with 8 different symbols on them. What is remarkable ( mathematically ) is that any two cards chosen at random from the pack will have one and only one matching symbol . This spurred me on to investigating the Maths behind generating such a pack of cards, starting with much more basic examples with only 2 symbols on each card and gradually working my way up to 8 .
This has been explored extensively in the linked question "What is the Math behind the game Spot it".
What has been established is that if the number of symbols on each card is N, then the maximum number of different symbols throughout the pack is C , the maximum number of cards in a pack is also C, the number of times any given symbol is repeated throughout the pack is N, and N and C are related as follows :
C = N^2 - N + 1 [ N squared minus N plus one ]
But I still do not understand the algorithm for generating the cards from a given symbol set .
I am trying to follow the matrix generated by Don Simborg , but I just can't quite follow his formula . Even for a simple matrix with N=3 and C=7, I know what the matrix should look like , but can't seem to understand his descriptive syntax . For example in column 2, row 4, his formula suggests the symbol is the one numbered 3N-1 in the sequence of 7 symbols, but 3N-1= 8 , so which symbol should I use? Is he making an assumption that we just wrap around (subtract 7) and start counting again from the beginning of the sequence ? But this still generates the wrong symbol . I know from looking at the pattern that it should be either symbol no 4 or symbol no 5, but just can't see how this arises from his formula . If we take the 7 symbols as being the letters "A", "B", "C", "D", "E" and "F", then the matrix should be as follows below :
A B C
A D E
A F G
B D F
B E G
C D G
C E F
Can anyone help me? I've been trying to crack how to generate the symbol arrangements on the "Dobble" cards for months, and have succeeded in generating the sequence as far as N=6, C=31 but I am stuck at N=7 . I would welcome any assistance or enlightenment with this , thank you !
And if I have misunderstood Don Simborg's formula, then the error lies with me !
Here are the matrices I have found from my own trial and error :
For N=4, C=13, with a symbol set being A B C D E F G H I J K L M , the matrix is as follows :
A B C D
A E F G
A H I J
A K L M
B E H K
B F I L
B G J M
C E J L
C F H M
C G I K
D E I M
D F J K
D G H L
For N= 5, C = 21, with the symbol set : A B C D E F G H I J K L M N O P Q R S T U , the matrix is as follows :
A B C D E
A F G H I
A J K L M
A N O P Q
A R S T U
B F K N R
B G J O S
B H L P T
B I M Q U
C F J P U
C G K Q T
C H M N S
C I L O R
D F L Q S
D G M P R
D H K O U
D I J N T
E F M O T
E G L N U
E H J Q R
E I K P S
To state again, both the sets above have the remarkable quality that any two rows chosen at random will have one and only one matching symbol .