You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using maxCards as an integer in combination with other variables suggests that it could be encapsulated in a class that handles limits and logic related to deck size. The advantage of applying this technique is: encapsulating the deck size logic, reducing the responsibilities of the Deck class.
The text was updated successfully, but these errors were encountered:
Using maxCards as an integer in combination with other variables suggests that it could be encapsulated in a class that handles limits and logic related to deck size. The advantage of applying this technique is: encapsulating the deck size logic, reducing the responsibilities of the Deck class.



The text was updated successfully, but these errors were encountered: