Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 679 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 679 Bytes

INSTRUCTIONS

To run the project please execute the following scripts.

  • npm i

install all project dependencies

  • npm start

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.