{"size": 749, "ext": "scrbl", "max_stars_repo_path": "scribblings/ginrummy.scrbl", "max_stars_repo_name": "samth/games", "max_stars_repo_stars_event_min_datetime": "2015-01-13T15:10:10.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-17T14:43:11.000Z", "max_issues_repo_path": "scribblings/ginrummy.scrbl", "max_issues_repo_name": "samth/games", "max_issues_repo_issues_event_min_datetime": "2017-08-25T20:26:37.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T17:48:40.000Z", "max_forks_repo_path": "scribblings/ginrummy.scrbl", "max_forks_repo_name": "samth/games", "max_forks_repo_forks_event_min_datetime": "2015-03-13T22:19:54.000Z", "max_forks_repo_forks_event_max_datetime": "2021-05-28T21:04:36.000Z"}
{"max_stars_count": 48, "max_issues_count": 15, "max_forks_count": 29, "avg_line_length": 32.5652173913, "max_line_length": 70, "alphanum_fraction": 0.7516688919}
#lang scribble/doc
@(require "common.rkt")

@gametitle["Rummy" "ginrummy" "Card Game"]

This is a simple variant of Rummy.

Put all cards in your hand into straights (3 or more cards in the same
suit) and 3- or 4-of-a-kind sets to win.  Each card counts for only
one set.  Aces can be used in both A-2-3 sequences and Q-K-A
sequences.

When all of your cards fit into sets (the game detects this
automatically), you win.

On each turn, you can either draw from the deck or from the top of the
discard pile (drag from either to your hand), then you must discard
one of your own cards (by dragging from your hand to the discard
pile).

The status line at the bottom of the window provides instructions as
you go.  The computer player is fairly smart.
