- There is a deck of 52 cards, of 4 different suits.
- 5 cards can be drawn at random from this deck on click of a button.
- Once a card has been drawn, it’s removed from the deck and shouldn’t appear twice.
- Repeatedly clicking the button should keep drawing cards until the deck is over.
The project was built using ReactJS and runs on Node.js utilizing npm as the package manager.
Make sure you have node.js version 14 or above to run this project
-
Clone the repository
git clone https://github.com/sg23600/Cards-React.git
-
Install NPM packages
npm install
-
Start the development server
npm start