hextris



SYNOPSIS

       /usr/games/hextris                                           [-geometry
       [{width}][x{height}][{+-}{xoff}[{+-}{yoff}]]]                 [-display
       [{host}]:[{vs}]]   [-[no]mono]   [-[no]{reverse|rv}]  [-{foreground|fg}
       {color}] [-{background|bg}  {color}]  [-[no]sound]  [-bumpSound  {file-
       name}]  [-level  {starting_level}] [-units {size_of_polyhex}] [-columns
       {columns}]   [-fill   {rows}]   [-[no]fixedFill]    [-[no]suddenAppear]
       [-[no]corners]   [-[no]mixed]   [-[no]bonus]   [-[no]cw]   [-[no]plain]
       [-[no]showNext] [-[no]grid]  [-userName  {string}]  [-scoreFile  {file-
       name}] [-scores] [-version]


DESCRIPTION

       The ever popular falling tetromino game now with hexagons.  Enhanced to
       allow all polyhex classes that do not have pieces with  holes.   Mixing
       polyhex classes (so as to permit polyhexes made up by a variable number
       hexagons) can also be selected.  A corner mode  is  allowed  where  the
       corners  of the hexagon do not allow pieces to slide in as easily (left
       and right edges here do not follow this rule or else too hard).

       To make these games interesting and "do-able"  the  ability  to  rotate
       gets  turned  off if it is easier than the 4 hexagon polyhex.  An added
       ability "reflect" (right-left -> left-right) allows one to attempt  the
       5 hexagons or 4 hexagons and corners mode polyhex pieces.

       To  get  high  scores,  do  not use "show next" mode, try starting at a
       higher level and try to let "hextris" eat more than one line at a time.
       Polyhexes  with  corners  or with a higher number of hexagons earn more
       points.  Mixed mode earns less points.  Play fast and see how well  you
       can  do  in  the bonus mode.  Bonuses are set when the level is changed
       automatically.  (Bonus mode not available for 5 hexagons or 4  hexagons
       and corners mode).

       The  program  lists  the  top 15 players at the end, each player has at
       most three scores.  With the option -scores, it shows all  the  players
       and scores.


FEATURES

       Click  "mouse-left" button, or press "J", "j", "S", or "s" keys to move
       the falling polyhex left.

       Click "mouse-center" button, or press "K", "k", "D",  or  "d"  keys  to
       rotate the falling polyhex.  Note this may be turned off if the depend-
       ing on the "turn-style", but normally this is "on".

       Click "mouse-right" button, or press "L", "l", "F", or "f" keys to move
       the falling polyhex right.

       Click  "mouse-scroll-up",  or  press "I", "i", "E", or "e" keys to flip
       (reflect) the falling polyhex.  Note this may  be  turned  off  if  the
       depending on the "turn-style", but normally this is "off".

       Click  "mouse-scroll-down",  or  press  "space-bar" to drop the falling
       polyhex.

       The key pad and arrow keys are defined similar.
       Key pad is defined for Hextris as:
         /     Reflect

         8     Rotate
         ^
       4<5>6   Left, Rotate, Right
         v
         2     Drop

       Press "C" or "c" keys to clear.

       Press ">" or "." keys to speed up the falling polyhex.

       Press "<" or "," keys to slow down the falling polyhex.   This  may  be
       turned off to avoid cheating.

       Press  "+" or "=" keys to increase the hexagons in the falling polyhex.
       Note: To keep the level of play similar, the "turn style"  can  change.
       The  ability  to reflect polyhexes is available only when the number of
       hexagons >= 5.  The ability to rotate polyhexes, is available only when
       the number of hexagons is >= 4.  Bonus polyhexes still have the current
       "turn style".

       Press "-" or "_" keys to decrease the hexagons in the falling polyhex.

       Press "]" or "}" keys to increase the column/row size.

       Press "[" or "{" keys to decrease the column/row size.

       Press "`", "1", "2", "3", "4", "5", "6", "7", "8",  "9",  or  "0"  keys
       (not  the  keypad  0-9)  to change the number of fill lines.  "`" for 0
       lines and "0" for 10 lines.

       Press "X" or "x" to toggle between fixed fill or random fill.

       Press "R" or "r" to toggle between sudden initial appearance or gradual
       initial appearance.

       Press "O" or "o" to toggle corners mode.  This may not be available for
       current number of hexagons.

       Press "M" or "m" to toggle mixed mode.  This may not be  available  for
       current number of hexagons.

       Press  "B"  or "b" to toggle bonus mode.  This may not be available for
       current number of hexagons.

       Press "W" or "w" to toggle clockwise or counter clockwise turning.

       Press "P" or "p" to toggle plain pieces or three dimensional pieces.

       Press "N" or "n" to toggle show next.

       Press "#" key to toggle the grid.

       Press "|" key to pause.

       Press "@" key to toggle the sound.

       Press "Esc" key to hide and pause program.   When  the  hextris  window
       loses its focus, it also goes to "paused" mode and it iconifies itself.

       Press "Q", "q", or "CTRL-C" keys to kill program.


OPTIONS

       -geometry {+|-}X{+|-}Y
               This  option  sets  the  initial position of the hextris window
               (resource name "geometry").

       -display host:dpy
               This option specifies the X server to contact.

       -[no]mono
               This option allows you to display the hextris window on a color
               screen as if it were monochrome (resource name "mono").

       -[no]{reverse|rv}
               This  option  allows  you  to see the hextris window in reverse
               video (resource name "reverseVideo").

       -{foreground|fg} color
               This option specifies the  foreground  of  the  hextris  window
               (resource name "foreground").

       -{background|bg} color
               This  option  specifies  the  background  of the hextris window
               (resource name "background").

       -[no]sound
               This option specifies if row completion should make a sound  or
               not (resource name "sound").

       -bumpSound filename
               This option specifies the file for the bump sound for the elim-
               ination of rows (resource name "bumpSound").

       -level level
               This option starts the program at the specified level (resource
               name "startLevel").

       -units ize_of_polyhex
               This  option  starts  the  program with the specified number of
               hexagons in each polyhex (resource name "units").

       -columns columns
               This option starts the program with  the  specified  number  of
               columns  (number  of  rows  is 2 * number of columns) (resource
               name "columns").

       -fill rows
               This option indicates that the program should start  with  some
               of the rows being randomly filled (resource name "fill").

       -[no]fixedFill
               Works  only  with  the  -p  option where it fixes the number of
               boxes to be filled to column size / 2 -  1  random  blocks  per
               row. (resource name "fixedFill").

       -[no]suddenAppear
               Polyominoes will now suddenly appear within the window. Now one
               cannot rotate a piece above the window. (resource name  "sudde-
               nAppear").

       -[no]corners
               This  option turns corners mode on (only available on -n <2-4>)
               (resource name "corners").

       -[no]mixed
               This option turns the mixed mode on (not  available  for  -n  2
               since  there  is nothing to mix it with). This allows polyhexes
               of less hexagons than the maximum determined  by  -n  (resource
               name "mixed").

       -[no]bonus
               This  option  turns the bonus pieces on (not available for -n 5
               since there are no size 6 pieces).  This  allows  polyhexes  of
               more  hexagons than the minimum determined by -n (resource name
               "bonus").

       -[no]cw The rotate key will now rotate pieces cw (resource name "cw").

       -[no]plain
               Uses the old "plain" bitmaps instead of  the  default  3D  ones
               (resource name "plain").

       -[no]showNext
               This  option  tells  the  program  start  in  "show  next" mode
               (resource name "showNext").

       -[no]grid
               This option specifies if a grid should  appear  (resource  name
               "grid").

       -userName name
               This  option  specifies  the  user name for any records made or
               else it will get your login name (resource name "userName").

       -scoreFile filename
               Specify an alternative score file (resource name "scoreFile").

       -scores This option lists all the recorded scores and then exits.

       -version
               This option tells you what version of hextris you have.


REFERENCES

       Based at one time on Q. Alex Zhao's Tetris.


SEE ALSO

       X(1), tetris(6), welltris(6), tertris(6), xhextris(6), xmris(6)


COPYRIGHTS

       (R) Copyright 1993-2016, David A.  Bagley,  <bagleyd  AT  verizon.net>.
       (R) Copyright 1992-1995, Q. Alex Zhao, <azhao AT cc.gatech.edu>.


BUG REPORTS AND PROGRAM UPDATES

       Send bugs (or their reports, or fixes) to the author:
              David A. Bagley, <bagleyd AT verizon.net>

       The latest version is currently at:
              http://www.sillycycle.com/altris.html
              http://ibiblio.org/pub/Linux/games/arcade/tetris



V8.0.1                            13 Sep 2013                       HEXTRIS(6)