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.
4 stars 2 forks source link

Enable framework to take control of player turn validation and handling #116

Open johnameyer opened 5 months ago

johnameyer commented 5 months ago

Checking for the player's turn is a common validation check so it would be ideal to have this be handled by the framework in a declarative manner.

Likely there is some relationship here with #27 and #84 (namely the Euchre double-event)