A simple App using React and an API
- Add testing
- Add form on init for draw number of cards
- Add form to add or delete players (within a limit), with name
- Deal/transition cards to player one a time
- Fan out cards like in a hand
- Make CSS better
Using https://deckofcardsapi.com build an app which will deal a hand of 5 cards and display them.
.
├── /public
│ └── favicon.ico
│ └── index.html
│ └── manifest.json
├── /src
│ ├── /components
│ │ ├── cardGame.jsx
│ │ ├── player.jsx
│ │ └── card.jsx
│ ├── /styles
│ │ ├── reset.scss
│ │ ├── variables.scss
│ │ ├── mixins.scss
│ │ ├── cardGame.scss
│ │ ├── player.scss
│ │ └── card.scss
│ ├── app.scss
│ └── index.jsx
└── README.md
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.