calcHandScore
that returns a fixed number of points for now, e.g. 1.calcHandScore
will take an array of card objects and return the number of points that the user scored for the cards in their hand.calcHandScore
allows us to construct the primary game logic without worrying about hand-scoring logic.calcHandScore
wherever we wish to calculate the score of a given hand. This logic should include the following.max-width
CSS property of the container so the layout is still friendly on a wider screen.calcHandScore
calcHandScore
.testHands.js
.calcHandScore