-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The fix should be in file src/card/card-store.ts.
Instead of using two states (FREE, USED), a third one should be introduced: USING.
So the card lifecycle will be: FREE -> (getNewCard) USING -> (discard) USED
Once there is no free card, the getNewCard method should reset all USED to FREE and shuffle them.
Metadata
Metadata
Assignees
Labels
No labels