Closed aayush0325 closed 1 month ago
Fixes: #8
handled the edge case in drawCardFromDeck where the deck length was 0 by updating the deck from the thrown cards and calling shuffle on it
for better deck handling in our game and to make sure that all use cases are tended to
can be tested after shuffle in deck.ts is written
shuffle from deck.ts needs to be written and exported
Fixes: #8
Description
handled the edge case in drawCardFromDeck where the deck length was 0 by updating the deck from the thrown cards and calling shuffle on it
Motivation and Context
for better deck handling in our game and to make sure that all use cases are tended to
How to Test
can be tested after shuffle in deck.ts is written
Related Issues
shuffle from deck.ts needs to be written and exported
Checklist
Screenshots (if applicable)