packages icon



 VPUZZLE(1)                                                       VPUZZLE(1)
                               15 August 1990



 NAME
      vpuzzle - Shuffles your display like on old 16 puzzle.

 SYNOPSIS
      vpuzzle [ -option ... ]


 DESCRIPTION
      The vpuzzle shuffles your display around like the old puzzle programs.

      If you use the -solve option, then the program will undo all the moves
      that have been done to restote the screen to its original state.
      There are three ways to signal the program to start solving:

      +    Allowing the program to make 65364 moves.

      +    Hitting one ^C in the window that started the program

      +    Any keystroke in the root window.

      If you do not use the -solve option, then you can terminate the
      program by doing any of the above.  In addition, if you are waiting
      for all the moves to be undone, any of the above actions will cause
      the program to quit.


 OPTIONS
      vpuzzle accepts the options listed below:

      -display display
              This option specifies the display. By default it is the
              current machine or the current setting of the DISPLAY
              variable.

      -border This option indicates that a white border should be drawn
              around all of the squares of the puzzle.

      -solve  This option indicates that the program should try to solve the
              puzzle, given half a chance.

      -numsquares n
              This option specifies the number of squares in both direction
              to be used.  The default is 16.

      -xnumsquares n
              This option specifies the number of squares horizontally that
              should be used.  The default is 16.

      -ynumsquares n
              This option specifies the number of squares vertically that
              should be used.  The default is 16.



                                    - 1 -          Formatted:  June 30, 2022






 VPUZZLE(1)                                                       VPUZZLE(1)
                               15 August 1990



      -max n  This option specifies the number of pixels that should be used
              when doing the shuffling.  The default is the the screen size.

      -xmax n This option specifies the number of pixels across that should
              be used when doing the shuffling.  The default is the the
              screen size.

      -ymax n This option specifies the number of pixels up and down that
              should be used when doing the shuffling.  The default is the
              the screen size.

 X DEFAULTS
      This program doesn't use X defaults (for shame).


 SEE ALSO
      X(1), xpuzzle(1)


 BUGS
      The algorithm to solve the puzzle is too simple.  It just undoes the
      moves that have been done so far.  It should use the same algorithm
      that xpuzzle uses.


 COPYRIGHT
      Copyright 1990, Solbourne Computer, Inc.


 AUTHORS
      M. Warner Losh (Solbourne)























                                    - 2 -          Formatted:  June 30, 2022