


XTETRIS(1)                                                         XTETRIS(1)



NAME
  xtetris - X Window block dropping game

SYNOPSIS
  xxtteettrriiss [ XX ooppttiioonnss ]

DESCRIPTION
  _X_t_e_t_r_i_s is a game involving dropping blocks. As they drop you can move them
  to the left or to the right by clicking the left or right mouse buttons
  respectively. Pressing the shift key while clicking the button causes the
  falling shape to rotate anti-clockwise (left mouse button) or clockwise
  (right mouse button). Pressing the middle mouse button causes the shape to
  quickly drop. Note that the mouse must be in the window in which the shapes
  are dropping for these actions to work correctly.

  You can also use the keyboard: h for moving to the left, l for moving to
  the right, j to rotate clockwise, k to rotate counter-clockwise and space
  for dropping quickly..

  You can also use the direction pad, if your keyboard has one: (Left) to
  move left, (Down) to rotate clockwise, (Up) to rotate counter clockwise,
  and (Right) to move right.

  Points are scored for each block that comes to rest on the gradually build-
  ing up pile of blocks. Different blocks in different orientations have dif-
  ferent point values. When the pile reaches the top of the screen and no
  further blocks can be dropped the game ends. When a row of blocks across
  the screen is completely filled, that row is removed and all the blocks
  above it drop down.  As more rows are deleted the blocks drop faster.

  A high score table is kept which is retained between separate executions of
  the game.  You can avoid recording your score, by using the -_n_o_s_c_o_r_e
  option.

  _X_t_e_t_r_i_s requires the installation of an application defaults file, probably
  in the file /_u_s_r/_l_i_b/_X_1_1/_a_p_p-_d_e_f_a_u_l_t_s/_X_t_e_t_r_i_s. If that file does not exist,
  _x_t_e_t_r_i_s cannot run.  (It will probably print out something like "Width
  zero.  Terminating.")  Almost everything about _x_t_e_t_r_i_s can be configured in
  your .X11defaults file.  You can use the application defaults file as a
  guide.

OPTIONS
  _X_t_e_t_r_i_s takes standard _X options (see _X(_1)). It adds the following:

  --bbooxxssiizzee _b_o_x_s_i_z_e
          Specifies the width of the square blocks that compose the falling
          objects.  The overall size of the game board adjusts to _b_o_x_s_i_z_e.

  --nnoossccoorree
          Runs _x_t_e_t_r_i_s without recording your score, or showing you the score
          file when you have finished the game.

  --ssccoorree  Runs _x_t_e_t_r_i_s using the scorefile, if it exists.

  --ssppeeeedd _s_p_e_e_d
          Sets the game's speed.  By default _s_p_e_e_d is 10.  20 causes the game
          to be 2 times faster, 5 makes it 2 times slower.  "-speed 50" makes
          for an extremely fast game, however you will need a fast processor
          to support it.  Keep in mind that as you knock out rows, the game's
          speed increases.  If you set your speed below the standard of 10,
          your score will not be recorded in the score file.

  --ccoolloorr

  --bbww     Determines whether to use the color or black-and-white
          application-defaults file.  This sets the new X11R5 "customization"
          resource to ".c" or ".bw", depending on your choice.

FILES

  //uussrr//lliibb//XX1111//tteettrriiss__ssccoorreess

  //uussrr//lliibb//XX1111//aapppp--ddeeffaauullttss//XXtteettrriiss

  //uussrr//lliibb//XX1111//aapppp--ddeeffaauullttss//XXtteettrriiss..cc

  //uussrr//lliibb//XX1111//aapppp--ddeeffaauullttss//XXtteettrriiss..bbww
       Top 10 high scores.

ENVIRONMENT VARIABLES

  XXTTEETTRRIISS
       If set, your desired name for the high score table.

BUGS
  A bug in X11R5 makes the /usr/lib/X11/app-defaults/Xtetris necessary: the
  pop-up score-box and about-box do not get a propagated "customization"
  resource.

COPYRIGHT
  Copyright 1991, Daniel R. Greening, Didier Tallot, Phill Everson, and Mar-
  tyn Shortley.

AUTHORS
  Dan Greening, Didier Tallot, Phill Everson, Martyn Shortley, and Adam Mar-
  guilies.





























