1st Thu Jan 20 2:11:10 JST 1994
2nd Mon Jan 24 16:39:54 JST 1994  

xstones install and readme

0. Execution environment

  xstones requires tcl+tk.
  If you don't have "wish" (tcl+tk interpreter), please install it.  
  xstones was developped and tested tcl7.3+tk3.6 (X11R5) on
SunOS4.1.3(SS2).

1. Configuration and install

  xstones consists of xstones command, *.tcl, *.bmp files.
  Default solitaire diretory is ".". 
  
  If you want to install solitaire files *.tcl *.bmp to directory you
choose, rewrite value of solitaire_directory variable.
  
  "xstones" file line 7 is like following

set solitaire_directory "."

  If you want to install *.tcl *.bmp to "/usr/local/bin/solitaire" and
	 install "xstones" to "/usr/local/bin", edit xstones like

solitaire_directory variable keeps directory where *.tcl and *.bmp are installed.

set solitaire_directory "/usr/local/bin/solitaire"  

and please type on shell command line,

cp *.tcl *.bmp /usr/local/bin/solitaire
cp xstones /usr/local/bin


And you have to rewrite the beginning of "xstones" to execute wish
when xstones command is executed.

# /usr/local/bin/wish -f

#! your_wish_abosolute_path -f

2. Game rule

Destination:
  You move and remove stone till a stone remains on board.

How to move and remove stone:
  Select stone, and select position to move.
  If there are stones side by side, you can move and jump a stone in
direction to side stone.  The side stone is removed after moving.
  You cannot move stone obliquely and you cannot move stone if there
is stone at destination.

Counts:
  You move a stone, it counts 1.  If you move same stone continuously,
it doesn't count.
  You have to make count fewer as possible as you can. 

Pattern:
  xstones has many stone pattern. Select stone pattern from pattern
menu at the beginning of game.

3. tcl+tk happy programming
  This program is my first product using tcl+tk. I began to study
tcl+tk 3 days ago.
  I feel that it's easy to study, easy to use. It taked about only 2
hours to make graphical interface part of xstones.
  I will be able to save my power to make program with graphical user
interface.

4. Writer's mail address
	mail-address: ksr@lp.nm.fujitsu.co.jp

Thanks.
