The Math Behind “Spot It”
smithsonianmag.com
smithsonianmag.com
This is not an extrapolation. It is a specialization of the problem in which p is 3 and q is 2. If either is an extrapolation of the other, it's the first one being an "extrapolation" of the chronologically-later second.
It rotated, random-sized etc all the images.
https://barwap.com/projects/splendid-snap/ https://github.com/bmsleight/SplendidSnap
The python script works standalone form the command-line https://github.com/bmsleight/SplendidSnap/blob/master/libspe...
(I have converted that into a JS method for all the golfers here [2])
But there is more to it than just figuring out what pictures go on the card.
What's the math to make each image have a unique size? [In Dobble, there are eight images on a card and no two images are the same size. Each image is presented seven times, and the size differs each time.]
How do you ensure unique image rotation (which varies similarly to the size)? How to do collision detection so that all the images don't overlap?
Also, there are the variations. For example, what is the math to have all images matching EXCEPT one (I have seen this game for sale)?
It's fun stuff, but there is more work to do than just what the article reflect.
BTW, I would love it if someone has algorithms for the questions I raised. I have been meaning to make a SpotIt! with images of the youth in the group I work at - it would be a unifying present to give out on a overnight.
Taboo is not a card game.
Wikipedia says:
> Some games that are placed in the card game genre involve a board. The distinction is that the gameplay of a card game chiefly depends on the use of the cards by players (the board is simply a guide for scorekeeping or for card placement), while board games (the principal non-card game genre to use cards) generally focus on the players' positions on the board, and use the cards for some secondary purpose.
https://en.wikipedia.org/wiki/Card_game
Afaict, the cards in Taboo are the primary driver of the game. And so it seems reasonable to say that it is indeed a card game.