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

Allow users to mark they want a card early in can-i-have-that #27

Open johnameyer opened 4 years ago

johnameyer commented 4 years ago

In can-i-have-that you can say you want a card even before your turn. This is not currently supported by the game, but the data should be stored and waiting updated based on that.

Inquirer allows us to cancel our prompts so we will likely model our other promises after - https://github.com/SBoudrias/Inquirer.js?tab=readme-ov-file#canceling-prompt