- CardBase.js~ Current card component which takes in rank and suit to render corners.
- Card-[ace,two,three....].js Extends and uses CardBase as Layout and renders cardBody.
- Card.js Maps card-ace, card-two, card-three with entire deck to give you correct one.
-
Redux store to manage stateUse DeckProvider - Multi dimention data to hold all cards in matrix A matrix of 4x3 is to be created and each node in matrix can hold multiple cards.
- Linked list, or stack can be used to model deck of card.
- Win is determine when there is no card to draw. Should have all face card on surface.
-
Notifications
You must be signed in to change notification settings - Fork 0
Card game to check your luck
ayrbox/nepali-solitaire
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|