War is a simple card game for two, let us repeat some rules:
Game is played with standard French playing card deck.
Card rank (from high to low): A K Q J 10 9 8 7 6 5 4 3 2
The deck is divided evenly among the players.
Each player reveals the top card of their deck – this is a battle.
The player with the higher card takes both of the cards played.
If two cards played are of equal value, then there is a war.
Both players place three cards of their pile face down and then another card face-up.
The owner of the higher face-up card wins the war and adds all cards on the table to the bottom of his deck.
If the face-up cards are again equal then the war repeats.
Action repeats until one face-up card is higher.
The game continues until one player has all the cards and wins.