War The Card Game

Play the game here

Imgur Imgur

Game Logic

The user can pick how many players are in each game A deck of cards is shuffled, and then split between the number of players selected, the players each flip over a card, the player with the highest number wins that round, in the event of a tie, then it is war, each player places 3 cards facedown, an flips the fourth card to be compared. The player with the highest card then wins the war. The same mechanisms go on until one player has all the cards, the player with all of the cards is the winner

Technologies Used

  • CSS
  • JavaScript
  • HTML
  • Bootstrap
  • Whimsical (for wire frames)
  • Postman
  • Random Joke API
  • Google Fonts

Future Improvements

  1. Add more decks of cards if there are more players.
  2. Add an empty deck of cards for each player to flip from.
  3. Add more animations.

© 2021 Patrick O'Hern