How to Play War: Setup, Flip Battles, Wars and Winning the Classic Card Game (2026)
Try it yourself — play War now
Free in your browser, no download or sign-up.
1. What War is, and what you need
War is the classic two-player comparing card game — the one many people learn first, because you cannot play it wrong. You need exactly one standard 52-card deck and two players; nothing else. There are no choices to make during play, which is why it is the game parents deal to children: the whole game is flip, compare, capture. You play against the computer on this site's War page, free in the browser.
2. The deal: 26 and 26
Shuffle the deck and deal it out evenly, 26 cards face down to you and 26 to your opponent. Nobody looks at their pile. In this build the deck is riffled with a Fisher–Yates shuffle before dealing, and the two 26-card halves stay face down for the whole game — you never see a card until the moment it is flipped.
3. Playing a round: flip, compare, capture
Both players turn over the top card of their pile at the same time. The higher card wins the round and its owner takes both cards, placing them at the bottom of their pile. That is the whole game loop:
- Aces are high, deuces are low. Rank order is A > K > Q > J > 10 > … > 2.
- Suits never matter. Two cards of the same rank never happen in one flip — ties are handled by the war rule below.
- Captures go under the pile, face down. In this build captured cards are shuffled before they go under the winner's pile (section 6 explains why).
The winner is the player holding all 52 cards. On the game page you flip by tapping your pile (or pressing Space or Enter); the computer answers instantly, so a round takes a second.
4. Ties: that's why it's called War
When both flipped cards have the same rank, war breaks out. Each side lays three cards face down and then one card face up, and the higher face-up card wins every card on the table — the original pair plus all the buried cards. If the face-up war cards tie again, the war repeats: another three down, one up, and the pile at stake keeps growing. A double war can put twenty-plus cards on the table, which is exactly the moment War becomes exciting.
5. Running short during a war
A war costs four cards, and a small pile may not have them. The rule this build follows: if you have fewer than three cards to bury, you lay as many cards as you have, keeping one back for the face-up flip. If your pile runs out entirely during a war, the game ends immediately and the other player wins. A draw is only possible when both piles run out on the same flip — in practice you will almost never see it.
6. Why this build shuffles captured cards
War has a documented flaw: if captured cards always go back in a fixed order, the two piles can lock into an endless cycle and the game never finishes. This build shuffles the captured cards before putting them under the winner's pile — the way players riffle the cards they pick up off the table — so every game is guaranteed to finish. It changes nothing about the rules; it just makes the classic game finite.
7. Controls on the game page
One input does everything: tap your pile (or press Space or Enter) to flip a card and resolve the round, war included. The Rules button opens the rules panel, and New game re-deals at any time. The table rescales to fit a phone screen, and no decision ever waits on you — War has zero player choices.
FAQ
Is there any strategy in War?
No — and that is the point. Both piles are face down, so no decision you could make changes anything. It is a pure luck game and a children's classic; play it for the war moments, not for the strategy.
How long does a game of War last?
It varies wildly — a lucky game ends in a few hundred flips, a war-heavy game can run long. This build's shuffle-on-capture rule guarantees every game finishes, which plain deterministic War cannot promise.
Can more than two people play War?
The classic game is two-player, and this build is you against the computer. Multi-player variants exist in the wild (everyone flips, highest card takes all), but they are house rules, not the version running here.
What happens if I run out of cards in the middle of a war?
You lose immediately — a pile exhausted during a war ends the game on the spot, and the other player takes everything still on the table.
Why did the computer take the cards after a tie?
Because its face-up war card was higher. A tie never splits the cards: the war repeats until one face-up card wins the whole stake.
More games to play
More free browser games on Playnesta — pick your next round.