This is a pair match gaming for TWO human players on a single device.
The app displays 2 "cards" at once, the first player to click on the item that is the same on both cards wins the round. Unlike the card game there
It was inspired by the childrens "pica pair" card game which my daughters love playing, which is itself based on "Spot It".
The original game is:
- 55 "card" combinations
- total of 57 symbols (pictures)
- each card has 8 symbols of differing sizes and orientation
- Most importantly: only 1 symbol is the same across any 2 cards
The magic count:
$ find . -name "*.dart" | xargs cat | wc -c
5110
Card data from: https://stackoverflow.com/a/31154452/85472
- there is no way to easily reset the game state short of restarting the app
- the layout of the game card items is not ideal and a better custom layout instead of just rows-columns is needed
- better way of selecting sizes and rotations of items within a card instead of just the arbitrary random numbers currently used
- "advanced mode" with a timer and scoring based on the time taken per each round win
It turns out that the math behind this seemingly simple childrens cards game is actually very interesting, being related to non-Eucliean geometry...
http://blog.polettix.it/some-maths-for-dobble/
https://openprairie.sdstate.edu/cgi/viewcontent.cgi?article=1016&context=jur
https://radiganengineering.com/2013/01/spot-it-howd-they-do-that/
https://www.smithsonianmag.com/science-nature/math-card-game-spot-it-180970873/
https://www.mathteacherscircle.org/assets/legacy/resources/materials/DSenguptaSpotIt.pdf