Design Patterns Playing Cards
Lately, in lecture, we played to Patterns Poker.
What is this game ?
The Patterns Poker is a game rather similar to the poker but where all cards of a classical game were replaced with different possible designs patterns (factory, visitor, builder).
How to play it ?
First, cards are dealt to players. 5 cards per player. Then, each player studies his card and exchanges cards that he doesn’t want, with the deck. When all exchanges are finished, each player invents a story using patterns of his cards. Afterwards that, players tell their story to others. At the end, the group decides on the best-story
My personal opinion
I think that this game is a good means to learn patterns while having a good time. However, it can sometimes prove to be rather difficult when we start to learn design patterns or when we have not enough imagination and adaptation of abstract elements to a concrete case.
More personally, it is not a technique which works with me. I prefer learning patterns across pure programming that by speech but there, it is my computer brain which speaks :)
Other games
There are other games that you can play to learn design patterns.
Patterns Cocktail: it’s a game where you have to discover what is the design patterns card which you have on your forehead.
Name The Patterns: it’s a game where you have to describe a Patterns without giving too much clues. For example: if you have the “Builder” card, you should not use the word “Build”.
This game seems fun but in the first, everybody are very stupid, so I think I prefer the second (^_^)