X Version 11 (Release 6.1)
puzzle(X1)
puzzle --
15-puzzle game
Synopsis
puzzle [-option...]
Description
puzzle
with no arguments plays a 4x4 15-puzzle. The control bar has two
boxes in it. Clicking in the left box scrambles the puzzle.
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.
Options
-display display-
This option specifies the display to use; see
X(X1M).
-geometry geometry-
This option specifies the size and position of the puzzle window;
see
X(X1M).
-size WIDTH x HEIGHT-
This option specifies the size of the puzzle in squares.
-speed num-
This option specifies the speed in tiles per second for moving tiles
around.
-picture filename-
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.
-colormap-
This option indicates that the program should create its own colormap
for the picture option.
References
X(X1M)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004