- Given a deck of cards, develop a console application.
- User playing the game should have three options
- Play a card
- When user plays a card – the application must throw the card i.e. the card at the at the top of a shuffled deck is shown.
- The card played should be in a random order
- The card once played would not appear again while playing
- Shuffle the deck
- User can shuffle the cards in hand (cards which are not played yet)
- Restart the game
- Mid way while playing, user may decide to play again.
- Restarting a game will have all the 52 cards again in hand.
- Play a card
deepak-acharya-97/card-game-leadsquared
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published