xwords/xwords4/linux
ehouse a6ecdd0f9e merge revisions 2443 2446 2447 2450 2451 2452 2454 2456 2469 2498 2499
2509 2513 2514 2515 2516 2517 2518 2519 2521 2522 2523 2524 2525 2526
2527 2528 2529 2530 2531 2532 2534 2535 2536 2537 2538 2539 2540 2541
2542 2543 and 2544 from trunk with the goal of adding localization
support to this branch so that it can be released before all the
networking stuff on trunk is debugged.
2009-05-09 16:01:44 +00:00
..
scripts branch for smartphone release 2008-12-18 13:23:12 +00:00
.cvsignore branch for smartphone release 2008-12-18 13:23:12 +00:00
cursesask.c branch for smartphone release 2008-12-18 13:23:12 +00:00
cursesask.h branch for smartphone release 2008-12-18 13:23:12 +00:00
cursesdlgutil.c branch for smartphone release 2008-12-18 13:23:12 +00:00
cursesdlgutil.h branch for smartphone release 2008-12-18 13:23:12 +00:00
cursesdraw.c apply diffs for revisions 2362 2379 2384 2386 2387 2392 2393 2394 2395 2397 2398 2400 2402 2403 2405 2407 and 2408 using script (no typos in this list.) Nothing but those diffs is included here. Only test was that wince compiles. 2009-01-19 06:01:36 +00:00
cursesletterask.c branch for smartphone release 2008-12-18 13:23:12 +00:00
cursesletterask.h branch for smartphone release 2008-12-18 13:23:12 +00:00
cursesmain.c apply diffs for revisions 2362 2379 2384 2386 2387 2392 2393 2394 2395 2397 2398 2400 2402 2403 2405 2407 and 2408 using script (no typos in this list.) Nothing but those diffs is included here. Only test was that wince compiles. 2009-01-19 06:01:36 +00:00
cursesmain.h branch for smartphone release 2008-12-18 13:23:12 +00:00
filestream.c branch for smartphone release 2008-12-18 13:23:12 +00:00
filestream.h branch for smartphone release 2008-12-18 13:23:12 +00:00
flip.xpm branch for smartphone release 2008-12-18 13:23:12 +00:00
gtkask.c branch for smartphone release 2008-12-18 13:23:12 +00:00
gtkask.h branch for smartphone release 2008-12-18 13:23:12 +00:00
gtkdraw.c apply diffs for revisions 2362 2379 2384 2386 2387 2392 2393 2394 2395 2397 2398 2400 2402 2403 2405 2407 and 2408 using script (no typos in this list.) Nothing but those diffs is included here. Only test was that wince compiles. 2009-01-19 06:01:36 +00:00
gtkdraw.h branch for smartphone release 2008-12-18 13:23:12 +00:00
gtkletterask.c branch for smartphone release 2008-12-18 13:23:12 +00:00
gtkletterask.h branch for smartphone release 2008-12-18 13:23:12 +00:00
gtkmain.c merge revisions 2443 2446 2447 2450 2451 2452 2454 2456 2469 2498 2499 2009-05-09 16:01:44 +00:00
gtkmain.h branch for smartphone release 2008-12-18 13:23:12 +00:00
gtknewgame.c branch for smartphone release 2008-12-18 13:23:12 +00:00
gtknewgame.h branch for smartphone release 2008-12-18 13:23:12 +00:00
gtkntilesask.c branch for smartphone release 2008-12-18 13:23:12 +00:00
gtkntilesask.h branch for smartphone release 2008-12-18 13:23:12 +00:00
gtkpasswdask.c branch for smartphone release 2008-12-18 13:23:12 +00:00
gtkpasswdask.h branch for smartphone release 2008-12-18 13:23:12 +00:00
hint.xpm branch for smartphone release 2008-12-18 13:23:12 +00:00
juggle.xpm branch for smartphone release 2008-12-18 13:23:12 +00:00
linuxbt.c branch for smartphone release 2008-12-18 13:23:12 +00:00
linuxbt.h branch for smartphone release 2008-12-18 13:23:12 +00:00
linuxdict.c branch for smartphone release 2008-12-18 13:23:12 +00:00
linuxmain.c merge revisions 2443 2446 2447 2450 2451 2452 2454 2456 2469 2498 2499 2009-05-09 16:01:44 +00:00
linuxmain.h branch for smartphone release 2008-12-18 13:23:12 +00:00
linuxserver.c branch for smartphone release 2008-12-18 13:23:12 +00:00
linuxserver.h branch for smartphone release 2008-12-18 13:23:12 +00:00
linuxudp.c branch for smartphone release 2008-12-18 13:23:12 +00:00
linuxudp.h branch for smartphone release 2008-12-18 13:23:12 +00:00
linuxutl.c merge revisions 2443 2446 2447 2450 2451 2452 2454 2456 2469 2498 2499 2009-05-09 16:01:44 +00:00
linuxutl.h branch for smartphone release 2008-12-18 13:23:12 +00:00
LocalizedStrIncludes.h branch for smartphone release 2008-12-18 13:23:12 +00:00
main.h apply diffs for revisions 2362 2379 2384 2386 2387 2392 2393 2394 2395 2397 2398 2400 2402 2403 2405 2407 and 2408 using script (no typos in this list.) Nothing but those diffs is included here. Only test was that wince compiles. 2009-01-19 06:01:36 +00:00
Makefile merge revisions 2443 2446 2447 2450 2451 2452 2454 2456 2469 2498 2499 2009-05-09 16:01:44 +00:00
README.txt branch for smartphone release 2008-12-18 13:23:12 +00:00
value.xpm branch for smartphone release 2008-12-18 13:23:12 +00:00
xptypes.h branch for smartphone release 2008-12-18 13:23:12 +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.