Memory Simulation¶

Have you ever wondered, how many turns it takes to match all pairs in a game of Memory? Let simulate many, many games in the computer and check how many turns they need.
The Simulation¶
Notes¶
if the player unveils a pair, they get to check another two cards in the same turn.
100% retention means the computer will never unveil the same card twice unless they know which other card to pair it with.
50% retention means the computer will forget every second card on average.
0% retention means the computer will not remember anything and can only find pairs by coincidence.
once a card is remembered, the computer will remember it for the rest of the game.
check out the
Python version of the memory simulator
See also
games to teach statistics

© 2024 Dr. Kristian Rother
Usable under the conditions of the Creative Commons Attribution Share-alike License 4.0.