Design-Patterns
Design-Patterns copied to clipboard
New observer implementation
Here's another example of observer pattern. In this case, the goal is to notify players in a game of roulette of changes in the category picked after the wheel has spinned.
Now it's much clearer! Thx @Cotel
I'm writing some tests between this evening and tomorrow.