packages icon



 XQUINTO(l)                                                       XQUINTO(l)
                                 1 Apr. 1992



 NAME
      xquinto - color all the squares: game.

 SYNOPSIS
      xquinto [size-options]

 DESCRIPTION
      xquinto has a rectangular (default, 5 by 5) board with squares on it.
      Clicking on any square reverses its color, and that of its neighbors
      that share an edge (not the diagonal ones). The object is, starting
      with a board in one color, to reach a board of the reversed color.

      There are two versions of the game: one using X11 and the other using
      XView.

      The size of the game, etc. can be changed using command line options:

      -width n
           Board is n squares wide (default 5).

      -height m
           Board is m squares high (default 5).

      -square n
           Board is n by n, square.

      -showmove
           Specifying this option will put a small 'o' on all the squares
           the player has clicked so far.

      -mono
           To play on a monochrome monitor.

      -colorN color
           where N is 1, 2, or 3, for the color of the squares in the normal
           and reversed form, and of the 'o' used to mark moves (defaults:
           red, blue and yellow).


      Keyboard commands useful for the X11 version are:

      m    magnify size of board by 1 unit (maximum 20 by 20).

      s    shrink size of board by 1 unit.

      h, H decrease (increase) height of board by 1 unit.

      w, W decrease (increase) width of board by 1 unit.

      q    quit the game.




                                    - 1 -          Formatted:  July 12, 2025






 XQUINTO(l)                                                       XQUINTO(l)
                                 1 Apr. 1992



      c    clear all moves, restart the game.


      Resources that can be used for the X11 version in the .Xdefaults file are:

      xquinto.colorN
           where N is 1, 2, or 3, for the color of the squares in the normal
           and reversed form, and of the 'o' used to mark moves.

      xquinto.mono (default: false)

      xquinto.showmove (default: false)



 NOTES
      The 5 by 5 (default) case can be solved. The idea for the game came
      from a similar one I saw on a NeXT machine.


 BUGS
      The program has only been tested on a SunIPC with SunOS 4.1.1. But it
      seems to work.

 AUTHOR
      Dev Joneja, Columbia Business School, April 1992
      dj7@cunixf.cc.columbia.edu



























                                    - 2 -          Formatted:  July 12, 2025