xwords/xwords4/linux
2006-05-05 12:49:02 +00:00
..
scripts first checkin 2003-11-01 05:35:29 +00:00
.cvsignore new directories to ignore 2006-02-18 14:08:04 +00:00
cursesask.c update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
cursesask.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
cursesdlgutil.c update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
cursesdlgutil.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
cursesdraw.c catch up with API changes 2006-05-05 12:49:02 +00:00
cursesletterask.c update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
cursesletterask.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
cursesmain.c formatting only 2006-02-17 07:27:58 +00:00
cursesmain.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
filestream.c Add, and use, stream_putString. Saves 500 bytes on win32. 2006-04-25 13:31:15 +00:00
filestream.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
flip.xpm first checkin 2003-11-01 05:35:29 +00:00
gtkask.c update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtkask.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtkdraw.c Add macros to draw.h, and use 'em for wince, so that a platform can choose to call draw.h methods via a vtable or static linking. 2006-04-01 21:01:20 +00:00
gtkdraw.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtkletterask.c update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtkletterask.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtkmain.c fix warning 2006-02-18 06:35:48 +00:00
gtkmain.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtknewgame.c update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtknewgame.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtkntilesask.c don't include in curses-only build 2006-02-17 07:28:17 +00:00
gtkntilesask.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtkpasswdask.c update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtkpasswdask.h update email address in header comments: no code change 2006-01-08 01:25:02 +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 Include name of dict so it can get printed. 2006-04-30 13:58:24 +00:00
linuxmain.c clean up usage 2006-02-17 07:28:41 +00:00
linuxmain.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
linuxserver.c update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
linuxserver.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
LocalizedStrIncludes.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
main.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
Makefile add install target 2006-02-27 00:08:32 +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 make XP_UCHAR signed to avoid warnings calling string.h funcs 2006-02-18 06:36:39 +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.