npm i --dev
then start with:
npm start
- step 1: create an incrementing counter
- step 2: refactor to counter component
- step 3: refactor so counters are part of app state
- step 4: click to add more counters
- step 5: switch to blackjack context by calling these players
- step 6: create material ui button to add players
- step 7: refactor so players are dumb components
- step 8: use a deck generator to create card values
- step 9: create cards and display those still left
- step 10: deal cards on click
- step 11: more robust dealing and styling