Play Beggar My Neighbour against the computer: turn cards, pay for Jacks, Queens, Kings and Aces, and collect the pile.
Game #-
Cards played 0
Played 0
Won 0
Draws 0
Longest win -
You
Pip
Middle pile
Press Play my card to turn your top card onto the middle pile; Pip then plays. A number card passes the turn. A Jack makes the other player pay 1 card, a Queen 2, a King 3 and an Ace 4, one card at a time. If the payer turns up a Jack, Queen, King or Ace, they stop and the other player pays for that card instead. When someone pays in full, whoever asked collects the whole middle pile. The player who runs out of cards loses. There is nothing to decide: it is all in the deal. Turn on Auto-play to watch, and pick a speed. Keyboard: Tab to Play my card and press Enter or Space; press A to turn auto-play on or off.
A standard 52-card pack is shuffled with a seeded shuffle and dealt 26 each, so the game number always gives the same deal, and the address of this page carries it. Collected cards go underneath your cards in the order they were played. Because the game has no choices, a deal decides the whole game and the computer plays exactly as you would. A few deals never end: the cards go round in a circle. Each time a pile is collected, the game from then on depends only on both hands and on who leads, so if the same hands and leader appear a second time, the game must repeat for ever. The page checks for that every time a pile is collected and calls it a draw. A cap of 20,000 cards played is a second safety net that no real game comes near.
As-is, no warranty. These apps are free under their listed license and run entirely in your browser. Use at your own risk — don't blame me if your PC catches fire, your dog runs away, or the math turns out wrong. Verify anything that actually matters. None of this is professional financial, medical, legal, or engineering advice.
This is a game of luck, so there is nothing to work out. The cards are dealt and the game plays itself out as you press Play. The aim is to win every card.
Auto-play. Switch on Auto-play and the game plays both sides at the speed you choose: Slow, Normal, Fast or Very fast. With Auto-play off, you press Play for your own cards and Pip plays after a short pause. A typical game takes a few hundred cards, so Very fast is a good way to see one finish. At the faster speeds only the main events are read out by a screen reader, so that it is not flooded.
A draw. Some deals never end. The cards go round in a circle, the same hands and the same leader coming up again and again. When the game spots this it calls a draw and says so kindly.
Keyboard and screen reader. Press Tab to reach Play my card and press Enter or Space. Press A anywhere in the game to turn auto-play on or off. A polite status message says each card, each demand, who collects the pile and how the game ended. The sound button is off until you press it, and the sounds are short, quiet tones. Cards are told apart by number and suit shapes as well as colour.
The game has a number. The page address carries it, along with the speed, so copying the address, or using Copy result, gives someone else the same deal. Restart this game replays that deal from the beginning.
A card is a number from 0 to 51: the suit is the number divided by 13, rounded down, and the rank comes from the remainder. The shuffle is a Fisher-Yates driven by a small seeded generator, so a game number always gives the same order of cards. The seed itself is drawn from the browser’s secure random source, from 1 to 999,999, and an address can carry any whole number up to 4,294,967,295.
The rules live in a plain TypeScript module with no page code in it. Each step plays one card and returns a new state with the events it caused. There are no decisions anywhere, so two games from the same deal are always identical.
Loops. Whenever a pile is collected the middle is empty, and what happens next depends only on both hands (in order) and on who plays next. So if the same two hands and the same leader are ever seen a second time, the game would repeat for ever. The engine keeps every such position it has seen and ends the game as a draw on a repeat. A cap of 20,000 cards played is a second safety net that no real game comes near.
The tests check these claims:
Nothing is uploaded and there is no account. Games played, games won, draws and your longest win are saved in your browser’s local storage as small numbers inside a small JSON object, under one key. Stored values that are not whole numbers within a sensible range are ignored when read. Clearing site data removes them. The only other state is the page address.
Everything runs locally in your browser.
Free to play, no ads, nothing uploaded. These games are original and are not affiliated with any other game or brand.