Instead of adding one to the side with the higher value we now want to add the value of the card to the score. This means if the Card value is 10 the score will go up by 10.
Instead of adding one to the side with the higher value we now want to add the value of the card to the score. This means if the Card value…