Gin Rummy for Chrome
More About Gin Rummy
********** BASIC CONCEPTS **********
SET: Three or four cards of the same rank, for example ♥8♠8♦8 or ♥Q♠Q♦Q♣Q.
RUN: Three or more cards in sequence in the same suit, for example ♥A♥2♥3 or ♣6♣7♣8♣9♣10. Aces are always low, never high, and runs can't wrap around, so Q,K,A,2 would not be a legal run.
MELD: A word for both Sets and Runs. You might for example have three melds, where two af them are sets and one is a run. Each card can only be part of one set or run, for example if you have an 8 you cannot count it both as part of 8,8,8 and 7,8,9.
STOCK: A deck of facedown cards, in the middle of the table. Players draw one card from the stock in every round.
DISCARD PILE: A pile of faceup cards, placed next to the stock. Players discard one card onto the pile in every round.
DEADWOOD: Any cards in your hand that are not part of a meld.
KNOCKING: Ending the round by putting a card face down on the discard pile.
GIN: When all 10 cards in your hand are parts of melds and you have no deadwood.
BIG GIN: When all 10 cards in your hand and the card you just drew are parts of melds, so you have 11 cards, all in melds.
LAY OFF: Adding your deadwood cards to an opponents melds.
********** OBJECTIVE **********
The objective of Gin Rummy is to collect cards into melds and have as little deadwood as possible at the end of a game. The game is scored based on how much deadwood you have at the end of each game. A game can span several rounds, you've won the whole game if you are the first person to reach a 100 points.
********** GAMEPLAY **********
Each player gets 10 cards. The remaining deck is put on the table between the players face down, and one card is put face up besides the deck to start the discard pile.
In each turn a player must start by drawing one card. He can either draw the top card from the deck or the top card from the discard pile. Generally you only draw the top card from the discard pile if you know that the card will help you create a meld with some of the other cards in your hand.
After the player has drawn a card he must discard one card by putting it face up on top of the discard pile. If the player has drawn the top card from the discard pile at the start of the turn he may not discard that card until his next turn (also, that wouldn't make any sense at all). He may however discard a card he has just drawn from the deck, or any other card he has in his hand.
The game continues like this, with players drawing and discard cards, while they try to build sets and runs in their hand. The round ends when one player knocks, by discarding a card and putting it face down on the discard pile. The player that knocked (the knocker) then shows his melds and his deadwood by putting it face up on the table. The opponent then shows his melds and deadwood. The opponent is allowed to lay off any of his deadwood cards onto the knocker's melds if he can. For example if the knocker had a meld, ♥A♥2♥3 and the opponent has a ♥4 as part of his deadwood he can add it to the knocker's meld, and then it won't count as deadwood anymore. The knocker cannot do the same, he can never lay off his deadwood. Additionally, if the knocker has Gin or Big Gin (no deadwood) then the opponent is not allowed to lay off any cards.
There are some rules for when you can knock. They vary between different versions, but this is how it's done on this site: You may only knock if you end up with 10 or fewer points of deadwood (human cards count as 10, aces as 1 and other cards their numeric values). The card you knock with (put facedown on the discard pile) is not included in that number. So, if you have just drawn and you have 3,5,9 as deadwood you would be allowed to knock with the 9, and then you'd end up with 3+5=8 points as deadwood.
Knocking with no deadwood, i.e. all 10 card in you hands forming melds is called going Gin. Going Big Gin is when you have 11 cards in melds, in which case you can say you have Big Gin and the game ends without you discarding the final card facedown.
********** SCORING **********
Scoring is based on deadwood and bonuses, the actual melds don't actually count for anything, they're only good to minimize your deadwood.
KNOCK POINTS: After all lay offs are made, the knocker scores the difference between his deadwood and the opponents deadwood. For example, the knocker has 3 points of deadwood, and the opponent has 21 points of deadwood, then the knocker scores 21-3=18 points.
GIN BONUS: If a player gets Gin he gets 25 extra points, added to the knock points he already got.
BIG GIN BONUS: If a player gets Big Gin he 31 extra points, added to the knock points he already got.
UNDERCUT: If a player knocks but the opponent has less or equal deadwood points, then the opponent gets 25 points plus the difference in deadwood points, and the knocker gets 0 points. However, if the knocker gets Gin there is never an undercut, even if the opponent also has 0 deadwood points.
GAME BONUS: After a player has reached 100 points he gets a special game bonus, 100 points, added to his overall score.
LINE BONUS OR BOX BONUS: This bonus is added at the end of the game, and adds 25 points for each hand won during the game. I'm not actually sure if this should be added for both the winner and the loser, or just the winner. You could actually end up giving the losing player more points if they both get it. Hmmm, if anyone knows, please let me know! For now I'm just adding it to the winner's score.
SHUTOUT BONUS: If the winner won every hand in the game then the points for each hand are doubled before adding the line bonus. I wasn't sure here how to handle it if someone has won all hands except for ones that end in a tie, so for now I'm requiring that you win all hands and none end in a tie to get this bonus. Let me know if you disagree with this.
And that's it. I'm sure there are plenty of people who prefer other rules, but you can never please everyone and these are the rules I'm going with.