Closed ingconti closed 6 years ago
I thought about adopting a Singleton pattern for the dice bag implementation, but I did not for two reasons:
interesting points, we will discuss in presence.(eve if security flaw is a bit odd :) ) I agree in multigame is we have multiple bags, but I suppose you will have MULTIPLE GAMES where each game has its own bag... so can be a singleton... inside game
I saw you are 3 people, but I see on stats:
archettialberto 11 commits 2,234 ++ 167 --
FilippoCarloni 6 commits 611 ++ 343
should be Singleton?
pls explain if not, or adopt if is the case.