PUZZLE(1) AIX PUZZLE(1) NAME puzzle - 15-puzzle game for X SYNOPSIS ppppuuuuzzzzzzzzlllleeee [-option ...] OPTIONS ----ddddiiiissssppppllllaaaayyyy _d_i_s_p_l_a_y This option specifies the display to use; see _X(_1). ----ggggeeeeoooommmmeeeettttrrrryyyy _g_e_o_m_e_t_r_y This option specifies the size and position of the puzzle window; see _X(_1). ----ssssiiiizzzzeeee _W_I_D_T_Hxxxx_H_E_I_G_H_T This option specifies the size of the puzzle in squares. ----ssssppppeeeeeeeedddd _n_u_m This option specifies the speed in tiles per second for moving tiles around. ----ppppiiiiccccttttuuuurrrreeee _f_i_l_e_n_a_m_e 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. ----ccccoooolllloooorrrrmmmmaaaapppp This option indicates that the program should create its own colormap for the picture option. DESCRIPTION _P_u_z_z_l_e 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. SEE ALSO X(1) BUGS The picture option should work on a wider variety of screens. COPYRIGHT Copyright 1988, Don Bennett. AUTHOR Don Bennett, HP Labs Rev. Release 5 Page 1