xrubik
======

A Rubik's Cube 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
  You need to install gl and glu if you want 3D graphics of OpenGL:
    sudo apt-get install libgl1-mesa-dev
    sudo apt-get install libglu-dev
  Then should be a simple
    configure; make

  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 XRubik.ad to get a certain feature and then
  copying to $(HOME)/XRubik (where XRubik is the file name) and
  running xrubik again.  Here you can change from the current cube (this
  is the kind I grew up on) to the original cube (the one that Erno Rubik
  prefers).  Both types were made by the original manufacturer.  There is
  also a Windows port (wrubik), though not all features are included.

  The auto-solver here only works for 2x2x2, 3x3x3, and 4x4x4 (for both
  non-oriented and oriented centers).  One of the problems in
  auto-solvers the generally do not work for different number of cuts.

  Also a tesseract (4D cube) would be nice. (I heard a 3^N cube has been
  built in software and solved!)

  Personally, I have solved 1-4 using this program, 2-5 using the
  physical cubes.

  Refer to the man page for detailed command line options.

SOLVING THE CENTER CUBES (3x3x3, oriented mode)
  1.  The top and front centers are upside down
      (Middle move up, top turned 180,
      Middle move down, top turned 180) x 3
  2.  The top is down, front is correct
      (Top 90, Front 180) x 30
  3.  Top 3 oclock, Front 9 oclock
      (Front ccw, top 90 cw) x 63
  4.  Top 3 oclock, Front 3 oclock
      (Front cw, top 90 cw) x 105
  This is my own method, there are probably better ones out there but
  this is pretty mindless, but can be very long.

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.
