The game of patterns