Basic card game deck building library. It should be able to handle any card game because it is rules-agnostic. However it can be extended to add a rules layer.
The main reason I build this was as an exercise for unit testing.
composer require mihaiz/deck
Magic the Gathering images, logos and all associated marks, logos, places, names, creatures, races, characters, products and illustations are the proprietary property of © Wizards of the Coast LLC, a subsidiary of Hasbro, Inc. All Rights Reserved, and are protected by copyright, trademark, and other intellectual property laws.
Hearthstone images, logos and all associated marks, logos, places, names, creatures, races, characters, products and illustations are the proprietary property of © Blizzard Entertainment, Inc. All rights Reserved, and are protected by copyright, trademark, and other intellectual property laws.