based on Complexity Explorable:

" The Prisoner's Kaleidoscope -
Pattern Formation, Beauty and Chaos a Game Theoretic Model
"