johnameyer / cards-ts

A card game framework and various games in Typescript. The framework allows for bot development and playing card games in the terminal or in a browser.
5 stars 2 forks source link

Fix fromStr for Hearts and add test verifying for all games #58

Closed johnameyer closed 3 years ago

johnameyer commented 3 years ago

Currently @cards-ts/hearts doesn't override fromStr in state-transformer when it should - leading to other errors when that is used.