Question
Design a deck of cards class for poker game, then generalize it to be used in any card game. What properties, fields and methods would this class contain? Which OOP patterns would you use?
Design a deck of cards class for poker game, then generalize it to be used in any card game. What properties, fields and methods would this class contain? Which OOP patterns would you use?