{"size": 1376, "ext": "scrbl", "max_stars_repo_path": "scribblings/jewel.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/jewel.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/jewel.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": 35.2820512821, "max_line_length": 74, "alphanum_fraction": 0.7463662791}
#lang scribble/doc
@(require "common.rkt")

@gametitle["Jewel" "jewel" "3-D Skill Game"]

@author["Peter Ivanyi"]

The board is an 8 by 8 array of jewels of 7 types.  You need to get 3
or more in a row horizontally or vertically in order to score points.
You can swap any two jewels that are next to each other up and down or
left and right.  The mechanic is to either:

@itemize[

 @item{Click the mouse on the first one, then drag in the direction for
   the swap.}

 @item{Move a bubble using the arrow keys, lock the bubble to a jewel with
   the space bar, and the swap the locked jewel with another by using
   the arrow keys.  Space unlocks a locked bubble without swapping.}

]

Jewels can only be swapped if after the swap there are at least 3 or
more same shape or color in a row or column.  Otherwise the jewels
return to their original position.  There is a clock shown on the
left.  When it counts down to 0 the game is over.  Getting 3 in a row
adds time to the clock.

Hit spacebar to start a new game then select the difficulty number by
pressing @onscreen{0}, @onscreen{1}, @onscreen{2}, @onscreen{3}, or
@onscreen{0}.  You can always press ESC to exit.  During playing press
@onscreen{P} to pause the game.

The code is released under the LGPL.  The code is a conversion of Dave
Ashley's C program to Racket with some modifications and enhancements.

Enjoy.
