xwords/xwords4/linux
2004-09-30 01:49:46 +00:00
..
scripts first checkin 2003-11-01 05:35:29 +00:00
.cvsignore first checked in 2003-11-16 17:30:19 +00:00
cursesask.c remove code to new shared file 2003-11-16 17:14:28 +00:00
cursesask.h first checkin 2003-11-01 05:35:29 +00:00
cursesdlgutil.c first checked in 2003-11-16 17:15:41 +00:00
cursesdlgutil.h first checked in 2003-11-16 17:15:41 +00:00
cursesdraw.c cleanup for no hintlimit feature case; add new param 2004-06-27 04:35:20 +00:00
cursesletterask.c first checked in 2003-11-16 17:15:41 +00:00
cursesletterask.h first checked in 2003-11-16 17:15:41 +00:00
cursesmain.c cleanup for no hintlimit feature case 2004-06-27 04:35:42 +00:00
cursesmain.h first checkin 2003-11-01 05:35:29 +00:00
filestream.c first checkin 2003-11-01 05:35:29 +00:00
filestream.h first checkin 2003-11-01 05:35:29 +00:00
flip.xpm first checkin 2003-11-01 05:35:29 +00:00
gtkask.c fix formatting 2004-02-17 03:56:12 +00:00
gtkask.h first checkin 2003-11-01 05:35:29 +00:00
gtkdraw.c draw borders on cells that are part of hint-constraint rect 2004-06-15 01:44:39 +00:00
gtkdraw.h first checkin 2003-11-01 05:35:29 +00:00
gtkletterask.c common code does more picking work now. 2003-11-16 17:25:46 +00:00
gtkletterask.h common code does more picking work now. 2003-11-16 17:25:46 +00:00
gtkmain.c cleanup; use new API for limiting tile use from tray. 2004-06-27 05:01:18 +00:00
gtkmain.h only call board_handlePenMove when mouse button is down. 2004-06-15 01:41:39 +00:00
gtknewgame.c first checkin 2003-11-01 05:35:29 +00:00
gtknewgame.h first checkin 2003-11-01 05:35:29 +00:00
gtkntilesask.c first checked in 2003-11-30 19:06:22 +00:00
gtkntilesask.h first checked in 2003-11-30 19:06:22 +00:00
gtkpasswdask.c first checkin 2003-11-01 05:35:29 +00:00
gtkpasswdask.h first checkin 2003-11-01 05:35:29 +00:00
hint.xpm first checkin 2003-11-01 05:35:29 +00:00
juggle.xpm first checkin 2003-11-01 05:35:29 +00:00
linuxdict.c tweak dict-building sanity check 2004-01-25 14:31:34 +00:00
linuxmain.c fix help message 2004-09-30 01:49:46 +00:00
linuxmain.h first checkin 2003-11-01 05:35:29 +00:00
linuxserver.c first checkin 2003-11-01 05:35:29 +00:00
linuxserver.h first checkin 2003-11-01 05:35:29 +00:00
LocalizedStrIncludes.h catch up with score-summary changes 2004-05-12 05:46:08 +00:00
main.h new slot 2003-11-30 19:09:39 +00:00
Makefile turn on new features by default 2004-06-27 05:03:48 +00:00
README.txt first checkin 2003-11-01 05:35:29 +00:00
value.xpm first checkin 2003-11-01 05:35:29 +00:00
xptypes.h add XP_STRCAT 2004-04-30 08:37:30 +00:00

This directory contains the desktop Linux port of Crosswords.

To build, run a shell in this directory and type

# make
or
# make debug
or
# make memdebug

Any will work as long as you have both libncurses and libgtk-1.2 and
the associated headers installed on your system.  If you don't you can
play with the Makefile to build with only GTK or ncurses.

Once you've built, go to the linux directory that will be created
within this one and type, at a minimum

# ./xwords -s -n SomeName

to get a GTK-based game with the built-in (English) tiles.  (Add the
-u flag to run with ncurses instead of GTK.)  There will be no robot
player, and the hint feature ('?' button) won't work.  For that you
need a real dictionary, which you can build in the dawg directory.  If
you build the BasEnglish2to8.xwd one in dawg/English, this command
will run a two person game between you and the machine:

# ./xwords -s -r robot -n SomeName -d ../../dawg/English/BasEnglish2to8.xwd

Here are the commands to launch two copies playing against each other
over the network.  Do these in separate shells both in the same
directory as the above commands ran in.  Launch the one with the -s
flag (the "server") first.

 s1# ./xwords -s -r Eric -N -p 4000 -l 4001
 s2# ./xwords -d ../../dawg/English/BasEnglish2to8.xwd -r Kati -p 4001 -l 6002

Both of these have "robot" players.  Turn one or both -r flags to -n
for human players who make their own moves.

If you want to run them on different machines, just add the -a flag to
the client telling it on what machine to find the server (since it
sends the first message, and the server will use the return address
from that message.)



*****

Please keep in mind that these Linux desktop clients are meant for
development only, as testbeds for code in ../common/ that will also be
used for the "real" products on PalmOS, PocketPC, eBookman, etc.
They're not supposed to be polished.