To run the project please execute the following scripts.
install all project dependencies
runs script node ./bin/createHands.js
, this will generate a file containing an array of all the hands provided in the poker.txt file
then,
runs the app in the development mode.
open http://localhost:3000 to view it in the browser.
To Execute tests run npm run test
,
there is one test suit that will check the rendered winner for all win scenarios.
To Cycle through the hands you can click DEAL NEXT HAND button to view one at a time or, click the AUTOPLAY button to cycle through all hands.