xmball
======

A Masterball Widget

Web: https://www.sillycycle.com/puzzles.html

Download: Primary site: https://www.sillycycle.com/puzzles
          Secondary site: http://ibiblio.org/pub/Linux/games/strategy

Maintainer: David A. Bagley <bagleyd AT verizon.net>

  To build you need at minimum both of these, X11 and Xt (unless you are
  looking to build win32).
    sudo apt-get install libx11-dev
    sudo apt-get install libxt-dev
  You may need to install one of these to build Motif version:
    sudo apt-get install libmotif-dev (strongly recommended)
    sudo apt-get install lesstif2-dev (defunct)
  As an alternative to Motif you can use Athena (and its variants):
    sudo apt-get install xaw7-dev
    (Also could use XAW3D xaw3d-1.6.3-3-x86_64.pkg.tar.zst)
  You need to install XPM if you want color icons:
    sudo apt-get install libxpm-dev (strongly recommended)
  To install XMU if you want editres:
    sudo apt-get install libxmu-dev (probably not useful)
  To install sound libraries (defunct):
    sudo apt-get install librplay3-dev
    sudo apt-get install libesd0-dev
    sudo apt-get install libaudiofile-dev
    sudo apt-get install nas-dev
    sudo apt-get install pulse-dev
    In place of these it is just configured by default with
      --enable-def-play=play.sh
  Then should be a simple
    configure; make

  The control feature allows you to move the whole masterball at
  once without being entered as a move.  Hold down the control key
  while using the left mouse button or the keypad.

  One has to orient the wedges in orient mode, besides getting all the
  wedges to be the same color. To do this one has to get the wedges
  with the numbers on one side and in order (clockwise).  This will add
  complexity, so there are 2 sets of records.

  Try resizing the puzzle. Notice the puzzle resizes to take advantage of
  the "room" available.

  Note: if using Athena and want the popups to be able to be closed when
    using a close window button in top bar, uncomment translations stuff
    in app-defaults file (.ad file) prior to "make install".  This may
    lead to warnings if for example the Motif version also exists.

  Try editing the file XMball.ad to get a certain feature and then
  copying to $(HOME)/XMball (where XMball is the file name) and
  running xmball again.  There is also a Windows port (wmball).

  The title is in the following format (non-motif version):
    xmball.{2|4|6|8|10|12}: <int> @ (<Number of moves>/\
      {<Record number of moves>|NEVER|PRACTICE}) - <Comment>
      {2|4|6|8|10|12}: current number of wedges.
      <int>: number of sectors per wedge.
      {<Record...}: puzzle is either in practice mode or record mode
        In record mode, if there is no record of the current puzzle, it
        displays "NEVER".

  I know the look is not exactly right.  For simplicity, I did not take
  into account spherical placement of the latitude cuts.

  Refer to the man page for detailed command line options.

FOUND A BUG?

  Send bugs reports and fixes to the author. For bugs, please include
  as much information as to their location as possible, since I may not
  be able to duplicate them.
