War cards game issue

My code looks good and I have compared it to Chris’s code. However, the score isn’t changing, the cards change but the score remains the same

Paste your code in a reply so that others can advise where the problem might be.

To format your code nicely place 3 back-ticks ``` as the only characters on a line above and below your code.