puzzle(1X)puzzle(1X)NAMEpuzzle - 15-puzzle game for X
SYNOPSISpuzzle [-option...]
OPTIONS
This option specifies the display to use; see X(1X). This option spec‐
ifies the size and position of the puzzle window; see X(1X). This
option specifies the size of the puzzle in squares. This option speci‐
fies the speed in tiles per second for moving tiles around. This
option specifies an image file containing the picture to use on the
tiles. Try “mandrill.cm.” This only works on 8-bit pseudo-color
screens. This option indicates that the program should create its own
colormap for the picture option.
DESCRIPTION
Executing puzzle with no arguments plays a 4x4 15-puzzle. The control
bar has two boxes in it. Clicking in the left box scrambles the puz‐
zle. Clicking in the right box solves the puzzle. Clicking the middle
button anywhere else in the control bar causes puzzle to exit. Clicking
in the tiled region moves the empty spot to that location if the region
you click in is in the same row or column as the empty slot.
BUGS
The picture option should work on a wider variety of screens.
COPYRIGHT
Copyright 1988, Don Bennett.
SEE ALSOX(1X)AUTHOR
Don Bennett, HP Labs
puzzle(1X)