This project was generated with superplate.
Sort cards on the tableau so they are in increasing order, from Ace to King. Once a full sequence of ranks is built, it automatically moves to the foundation (cards cannot be placed on the foundation individually). The game is won once all cards are in the foundation.
npm run dev
npm run build
npm run test
gameover.mov
Utilising tagged template literals (a recent addition to JavaScript) and the power of CSS, styled-components allows you to write actual CSS code to style your components.
The React Testing Library is a very light-weight solution for testing React components. It provides light utility functions on top of react-dom and react-dom/test-utils.
Fast, easy and reliable testing for anything that runs in a browser.
MIT