{"size": 1217, "ext": "scrbl", "max_stars_repo_path": "scribblings/crazy8s.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/crazy8s.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/crazy8s.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": 41.9655172414, "max_line_length": 70, "alphanum_fraction": 0.7617091208}
#lang scribble/doc
@(require "common.rkt")

@gametitle["Crazy 8s" "crazy8s" "Card Game"]

Try to get rid of all you cards by matching the value or suit of the
top card in the discard pile.  In the default mode, click a card to
discard it; you can adjust the options so that you discard by dragging
a card from your hand to the discard pile.

An @onscreen{8} can be discarded at any time, and in that case, the
player who discarded the @onscreen{8} gets to pick any suit for it
(hence the craziness of @onscreen{8}s).  When you discard an
@onscreen{8}, a panel of buttons appears to the right of the discard
pile, so you can pick the suit.

A player can choose to draw a card instead of discarding, as long as
cards are left in the draw pile.  A player's turn continues after
drawing, so a player can continue drawing to find something to
discard.  In the default mode, click the face-down draw pile in the
middle of the table; you can adjust the options to that you draw by
dragging it from the draw pile to your hand.

If no cards are left in the deck, a player may pass instead of
discarding.  To pass, click the @onscreen{Pass} button.

The status line at the bottom of the window provides instructions as
you go.
