MichaelOryan / card-deck

A library for making decks of cards
MIT License
0 stars 0 forks source link

Card Class Revamp #2

Open MichaelOryan opened 10 years ago

MichaelOryan commented 10 years ago

This class requires a rewrite so that it just contains what is required for deck to store and return a copy of it.

Anything else will require a class that extends(?) it and implements extra features of a card. eg; point value Blackjack, states such as tapping in MTG, commands such as making someone skip a turn UNO.

Consistency should be maintained with prior versions at this stage. (Not really because no one uses it but it'll be interesting to try)