/war-cards

This project orchestrates a card game interface. It manages deck ID, computer, and player scores, and accesses HTML elements. It fetches a new deck of cards and draws cards asynchronously from the API. Winners are determined by card values, updating scores accordingly. The game concludes upon drawing all cards, declaring a victor or tie.

Primary LanguageJavaScript

Stargazers