|
|
1.1 root 1: .TH PUZZLE 6 "August 20, 1987"
2: .UC 4
3: .SH NAME
4: puzzle \- X-window V11 15-puzzle game
5: .SH SYNOPSIS
6: .B puzzle
7: [
8: .B geometry
9: ] [
10: .B display
11: ] [
12: .B size
13: ] [
14: .B -s<move-steps>
15: ] [
16: .B -p<picture-file>
17: ]
18: .SH DESCRIPTION
19: .I Puzzle
20: with no arguments plays a 4x4 15-puzzle. The title bar has two boxes in
21: it. Clicking in the left box scrambles the puzzle. Clicking in the right
22: box solves the puzzle. Clicking anywhere else in the title bar causes
23: puzzle to exit. Clicking in the tiled region moves the empty spot to that
24: location if the region you click in is in the same row or column as the
25: empty slot.
26:
27: .PP
28: .TP 10
29: .B geometry
30: The desired size and location of the puzzle.
31: .TP 10
32: .B display
33: Name of the display you want the puzzle to run on.
34: .TP 10
35: .B size
36: The desired size of the puzzle, specified as <width>x<height>.
37: The default and minimum size is 4x4.
38: .TP
39: .B \-s<move-steps>
40: Set the number of block moves used to move the empty slot from place
41: to place. By adjusting the value of move-steps, you can control the
42: speed of the empty slot as it careens around the puzzle.
43: -s3 seems to give reasonable animation with no hardware bit mover
44: support; you may need a much larger value (like 40-50) if you have
45: a hardware bit mover.
46: .TP
47: .B \-p<picture-file>
48: Create a pixmap from picture-file and use it as the puzzle.
49:
50: .PP
51: .SH AUTHORS
52: .PD 0
53: .TP
54: Don Bennett, HP Labs - Puzzle program & X interface
55: .TP
56: Jack Palevich, Apple Computer - Picture display code
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.