Hand 1Your turn
You0
Bot0
Goal100
Bot
You

Gin Rummy: play free online against the computer or a friend

Gin Rummy is a free online two-player card game where you draw, meld and knock. Play Standard gin or Oklahoma gin against the computer on three levels, or play online against a real person with a friend code, a link or a random match. Your rival never sees your cards: online games use a fair encrypted shuffle. Matches go to 50, 100 or 150 points, with best-of series, 18 badges, a practice rating and leaderboards. It works in any browser on a computer, tablet or phone.

▶ PLAY GIN RUMMY

Your record on this device: no matches yet
GenreCard game, rummy
Deck52 cards, 2 players
RulesStandard and Oklahoma
ModesVs computer, online PvP, series
Rewards18 badges, rating, leaderboards
PriceFree, no sign-up, no download

How to play Gin Rummy

  1. Choose Standard or Oklahoma rules, a computer level (or Play online) and the number of points to win.
  2. You and your rival get 10 cards each. Tap the stock or the discard pile to draw a card.
  3. Group your cards into sets (3 or 4 of a rank) and runs (3 or more in a row of one suit).
  4. Tap a card, then tap it again to discard it. Do this every turn.
  5. When your leftover cards add up to 10 or less, press Knock. Go gin with no leftover cards for a bonus. The lower deadwood scores the difference.

Mouse and touch: tap the stock or the discard pile to draw, then tap a card to lift it and tap it again to discard it. The Discard and Knock buttons do the same. Keyboard: D draws from the stock, T takes the discard, P passes the first upcard, the left and right arrows pick a card, Enter discards, K knocks, S changes the sort order and N opens the New game menu.

Sets, runs and deadwood

MeldWhat it isExample
🧩 Set3 or 4 cards of the same rank in different suits7♠ 7♥ 7♣
🪜 Run3 or more cards in a row in the same suit; the ace is always low (A-2-3, never Q-K-A)4♦ 5♦ 6♦ 7♦
🪵 DeadwoodEvery card that is not in a meldK♣ 9♥ 3♠
CardDeadwood value
Ace1
2 to 10The number on the card
Jack, Queen, King10

The game groups your cards for you: melds move to the left and get a coloured underline, deadwood stays on the right, and your deadwood count is shown under your hand. You can change the order with the Sort button (melds, rank or suit).

Knock, gin and undercut

ResultWhat happensPoints
✊ KnockYour deadwood is 10 or less. Your rival lays off cards on your melds, then the totals are comparedThe difference, if yours is lower
🎯 GinAll 10 cards are in melds. No lay-offs allowed25 + rival's deadwood
💎 Big GinAll 11 cards are in melds after a draw, no discard needed31 + rival's deadwood
🛡️ UndercutThe rival has the same or less deadwood than the knocker25 + the difference, to the rival
🌫️ Dead handOnly two cards left in the stock0, a new hand is dealt

After a knock the defender may lay off deadwood cards that extend the knocker's melds: the fourth card of a set, or the next or previous card of a run. The game does this automatically and shows the cards that were laid off in green.

Standard and Oklahoma gin

RuleStandardOklahoma
✊ Knock limit10 or less, every handThe value of the first upcard (an ace means 1, face cards 10)
♠️ Spade upcardNo effectAll points in that hand count double
🎲 FeelSteady, classic ginSwingy: a low upcard forces you to build tight hands

The first turn is the same in both: the player who is not the dealer may take the upcard or pass, then the dealer may take it or pass, and if both pass the non-dealer draws from the stock. You may never throw back the card you took from the discard pile on the same turn. The dealer alternates every hand.

Computer levels

LevelPlays likeGood for
😊 EasyTakes the discard only when it clearly completes a meld, and makes loose discardsLearning the rules and your first wins
🤔 MediumKeeps pairs and near-runs, takes useful discards, knocks when its count is lowCasual players who want a real game
🔥 HardTracks what you pick up and what you refuse, avoids feeding your melds and times its knockExperienced players

The computer never peeks: it only knows its own cards, the discards and the cards you took from the pile, exactly like a human player.

Play Gin Rummy online with a friend

Online gin rummy on Util.Ninja is a full match against another person, played to 100 points with Standard or Oklahoma rules. Moves travel directly between the two browsers (peer to peer) and both browsers check every card against the same rules.

Hidden hands, for real. The deal uses commutative encryption (the "mental poker" method): your browser and your rival's browser each lock all 52 cards with a secret key and shuffle them, so neither knows where any card is. A card is unlocked only for the player who receives it, and cards drawn from the stock are unlocked the same way. At the end of every hand the keys are swapped and both browsers replay the hand to check every draw, discard and knock against the cards each player really held.

Prefer to watch first? The online play demo shows every step.

Start a game with a friend

  1. Tap the pink Play with a friend button (or Play online in the New game menu), type your name, choose Standard or Oklahoma and tap Invite a friend.
  2. Send the 5-character code or the invite link with Share, Copy link or Copy code, and keep the window open.
  3. Your friend opens Gin Rummy, taps Play with a friend, then Join a friend, types the code and presses Join. The link does this for them.
  4. The cards are shuffled and dealt by themselves and the player who is not the dealer starts.

No friend at hand?

Tap Random player to be paired with the next person looking for a game, or open a public game and wait for someone to join.

Leaving an online game

While an online match is on, the pink button hides and an exit icon appears in the top bar. Tap it once and it turns red; tap it again to leave. Leaving counts as giving up, so your rival wins. When the match is over the end screen offers a rematch.

Leaderboards and practice rating

Every match you win against the computer can go on the Gin Rummy leaderboard, with one list per level (Easy, Medium and Hard) and This month and All time tabs. A win scores a base for the level (Easy 300, Medium 500, Hard 800), plus 100 for a 100-point match or 200 for a 150-point match, plus 2 for every point of your winning margin. You only pick a nickname, there is no sign-up, and you can change the name, hide your scores or delete them at any time. Lost matches, online matches and matches you gave up are not ranked.

Your practice rating starts at 1000 and moves like an Elo score: beating the Hard computer (rated 1500) is worth far more than beating Easy (900). It lives on your device and is shown on the match result and in the statistics.

Badges

There are 18 badges for beating each level, knocking, going gin and big gin, undercuts, cold knocks, big hands, Oklahoma wins, clean sweeps, comebacks, win streaks, online matches and your rating. Open the medal button in the game to see your progress.

BadgeHow to earn it
🏅 First WinWin a match against the computer.
✊ Knock KnockWin a hand by knocking.
🎯 Gin!Go gin: every card in a meld.
💎 Big GinHold 11 cards that are all in melds.
😊 Easy GoingBeat the computer on Easy.
🤔 Sharp PlayerBeat the computer on Medium.
🔥 Card SharkBeat the computer on Hard.
🏆 Table LegendWin 5 matches on Hard.
🛡️ Undercut!Catch your rival knocking: your deadwood is the same or lower.
🧊 Cold KnockKnock with 2 or less deadwood.
💰 Big HandScore 50 or more points in one hand.
🎰 OklahomaWin a match with Oklahoma rules.
♠️ Double SpadesWin a hand when the Oklahoma upcard was a spade (points count double).
🧹 Clean SweepWin a match while your rival has 0 points.
🔄 ComebackWin a match after trailing by 40 points or more.
⚡ Hat-trickWin 3 matches in a row.
🌐 Online RivalFinish an online match against a real person.
📈 Rising StarReach a practice rating of 1300.

Gin Rummy strategy tips

  1. Throw high cards early. If your rival knocks, every point in your hand counts against you. Kings, queens and jacks are the first to go when they are not in a meld.
  2. Keep connected cards. A 6♦ and a 7♦, or two nines, can still become melds. A lone king in a different suit cannot.
  3. Watch what your rival picks up. A card taken from the discard pile is part of a meld or near one. Do not discard the cards next to it in rank or suit.
  4. Notice what your rival refuses. If a 5 is passed on the first turn, they are not building fives, and fives are safe to throw.
  5. Do not knock too early with a high count. Knocking with 9 or 10 gives your rival a chance to undercut. Waiting a turn or two to get to 5 or less is often worth it.
  6. Chase gin when the stock is full. Early in a hand a gin bonus is realistic. Late in the hand, when only a few cards remain in the stock, take the points and knock.
  7. Remember the lay-off. Your runs and sets can absorb your rival's deadwood. A four-card run is easier to lay off on than a three-card set.

Frequently asked questions

Is Gin Rummy free?

Yes. Gin Rummy on Util.Ninja is completely free to play online, with no sign-up, no download and no in-app purchases. It runs in your browser on computers, tablets and phones, and your statistics, badges and practice rating are saved on your own device.

How do I play gin rummy?

Each player gets 10 cards. On your turn you draw one card, from the stock or from the top of the discard pile, and then discard one card. Your goal is to arrange your cards into melds (sets of 3 or 4 cards of the same rank, and runs of 3 or more cards in a row of the same suit) so that few points are left over. When your leftover cards, the deadwood, add up to 10 or less you can knock and end the hand.

What is deadwood?

Deadwood is every card that is not part of a meld. Aces count 1 point, the numbered cards count their number and jacks, queens and kings count 10. The game shows your deadwood under your cards and picks the best way to group them for you.

What does knock mean and what is gin?

You knock by discarding your last card face up when your deadwood is 10 points or less. Your rival then gets one chance to lay off cards onto your melds and the lower deadwood total wins the difference. If every one of your cards is in a meld you go gin, which scores a 25-point bonus plus your rival's deadwood, and your rival cannot lay off. With 11 cards all melded you can declare Big Gin for a 31-point bonus.

What is an undercut?

If you knock but your rival has the same deadwood or less after laying off, they undercut you. The undercutter scores a 25-point bonus plus the difference. It is the main risk of knocking with a high count, and the computer on Hard remembers it.

What are the Standard and Oklahoma rules?

Standard gin lets you knock with 10 or less deadwood. In Oklahoma gin the value of the first upcard sets the knock limit for that hand (an ace allows only 1 or less), and if the upcard is a spade every score in that hand counts double. Choose the rules in the New game menu or when you start an online game.

How does the first turn work?

The player who is not the dealer may take the first upcard or pass. If they pass, the dealer may take it or pass. If both pass, the non-dealer draws the first card from the stock. You can never throw back the card you just took from the discard pile.

When does a hand end without a winner?

When only two cards are left in the stock after a discard, nobody can draw any more and the hand is declared dead: no points are scored and a new hand is dealt.

How is a match scored?

Hands are added up until one player reaches the goal of 50, 100 or 150 points. The winner then adds a game bonus of 100 points and both players add 25 points for every hand they won, as in the traditional score sheet. Series of best of 3 or best of 5 matches are available against the computer.

Can I play gin rummy online against another person?

Yes. Tap Play with a friend (or Play online in the New game menu), choose Standard or Oklahoma, then Invite a friend and send the 5-character code or the link, or pick Random player for a quick match. Online matches are played to 100 points. Moves travel directly between the two browsers (peer to peer), no account is needed, and a rematch is one tap away.

Can my online rival see my cards?

No. Online games use a fair encrypted shuffle: both browsers lock and shuffle all 52 cards in turn, so neither knows where any card is, and a card is unlocked only for the player who draws it. At the end of every hand the keys are swapped and each browser replays the hand to check that every discard and draw matched the cards really held. A player caught cheating loses the match.

Does Gin Rummy have a leaderboard and a rating?

Yes. Match wins against the computer can go on the Gin Rummy leaderboard, with one list per level and This month and All time tabs. A win scores a base for the level (Easy 300, Medium 500, Hard 800), plus 100 for a 100-point match or 200 for a 150-point match, plus 2 points for every point of your winning margin. You also get a practice rating, like an Elo score, that goes up when you beat stronger opponents. It is stored on your device. Online matches are not ranked on the leaderboard.

Can I play on a phone?

Yes. Gin Rummy works on phones and tablets in portrait and landscape: tap the stock or the discard pile to draw, tap a card to select it and tap it again to throw it, or use the Discard and Knock buttons. On a computer you can also use the keyboard: D draws from the stock, T takes the discard, the arrow keys pick a card, Enter discards, K knocks and N opens the New game menu.

More free card and board games you can play against a friend: Dominoes, Chess, Backgammon, Ludo and all player versus player games.