Gin Rummy

Build melds, knock or go gin against the computer.

Vs computer

Computer opponents. Pause, undo and saved matches.

How to play Gin Rummy

Build melds and reduce deadwood against one computer opponent in a Gin Rummy match to 100.

Objective

Reach 100 points by going gin or knocking with less deadwood than the opponent after legal layoffs.

Layout and setup

A 52-card deck without jokers supplies ten cards to each player, a face-up discard and a hidden stock. Dealership alternates; the computer deals first. Your hand is visible at the bottom. Opponent cards remain hidden until a hand ends.

Rules and allowed moves

A meld is three or four of a rank, or at least three consecutive cards of one suit. Aces are low: Ace–2–3 works, Queen–King–Ace does not. Unmelded cards are deadwood: Ace one, face cards ten, others their rank. The engine finds the lowest deadwood automatically.

The non-dealer may take the opening discard or pass. After a pass, dealer gets the same choice. If both pass, non-dealer must draw stock. Later turns draw stock or the top discard, then discard one card. A card just taken from the discard cannot immediately be thrown back.

Select a card to discard it. When discarding that card leaves at most ten deadwood, a separate discard-and-knock action appears. Zero deadwood is gin. On an ordinary knock, the defender can lay unmatched cards onto the knocker’s melds; the engine calculates the defender’s best melds and legal layoffs. Gin prevents layoffs.

Drawing and redealing

The stock is never recycled. If a normal discard leaves only two stock cards, the hand is drawn without points; a knock made on that discard is resolved first.

Winning, scoring, and getting stuck

Gin earns 25 plus the opponent’s deadwood. A successful ordinary knock earns the deadwood difference after layoffs. If defender deadwood is equal or lower, the defender undercuts for 25 plus the difference. First to 100 wins; there are no box, game or shutout bonuses here.

Completed results enter this game’s browser statistics. Starting or restarting after an accepted action records an unfinished attempt as a loss. An untouched deal does not count as an abandoned attempt.

Controls and features

  • Click or tap a playable card. If it has multiple actions, choose a labeled action below the hand. Buttons also support Tab and Enter or Space. Cards that cannot be played are disabled; hidden cards are identified by position.
  • Undo restores your last accepted decision and subsequent computer actions, up to 200 decisions. It is unavailable after a completed match. Elapsed time and lifetime action counts do not rewind.
  • Your hand is grouped into detected melds and remaining deadwood. Choosing a card still offers the same legal discard and knock actions; grouping does not change the rules.
  • Pause freezes time and blocks actions, including computer turns. New game offers a random match or Restart current deal. Restart repeats the opening shuffle and resets the entire match, timer and history.
  • Position, active time and statistics save in this browser when storage works. Time away is excluded. Clearing site data removes saves. Recent play shows the latest public messages.

Continuing and saving

Continue opens your saved position paused. Resume starts play again; time away does not count. A new game’s active clock starts with its first accepted player action. Progress and results stay in this browser, without cloud sync. A saving warning means progress may be lost when you leave. If another tab changes the game, choose the newer save or explicitly keep this position before playing again.

Playing on a phone or tablet

Tap the controls to play. Pinch with two fingers to zoom in for a closer look. To scroll past a card table, swipe on the space between cards or outside the board; dragging a movable card moves it instead. Adding a second finger cancels a card drag. The game area expands to fit its contents; scroll the page to see more. Rotate your device for more room across the table. Full screen uses full-browser play when your browser cannot enter native fullscreen; use Exit full browser to return to the page.

Strategy tips

  • Keep cards with two possible uses until the draw makes the choice clearer.
  • A low deadwood score helps, but a small knock can be undercut after layoffs.
  • Watch exposed discards for cards that are unlikely to complete your runs.

About Gin Rummy

Gin Rummy is a two-player member of the rummy family. This version uses a ten-point knock limit and automatic meld selection. Wikipedia background.

For another game, try Cribbage.

Frequently asked questions

How do you win Gin Rummy?
Reach 100 points by going gin or knocking with less deadwood than the opponent after legal layoffs.
Can I pause and resume later?
Pause stops the clock and computer play. Your match position and time save in this browser when storage is available; return and choose Continue, then Resume, to continue. Saves do not sync between devices.