xwords/xwords4/linux
2011-11-29 20:51:19 -08:00
..
res test files for new bonus-squares-settable feature 2011-04-10 13:02:45 -07:00
scripts add ability to start out with mix of old and new versions and have old 2011-11-29 20:51:19 -08:00
.gitignore more to ignore 2010-09-20 05:32:17 -07:00
cursesask.c Make a couple of dialogs format for narrower screen and respect keypad buttons. 2008-02-02 20:58:44 +00:00
cursesask.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
cursesdlgutil.c get rid of const-related warnings 2008-02-16 15:49:03 +00:00
cursesdlgutil.h get rid of const-related warnings 2008-02-16 15:49:03 +00:00
cursesdraw.c Turn "Turn done" into "Pass" when the pending score is 0. To do that 2011-10-04 18:48:33 -07:00
cursesletterask.c Use new dict API to get rid of XP_UCHAR4 type, replacing with const XP_UCHAR*. 2009-04-07 04:23:56 +00:00
cursesletterask.h Use new dict API to get rid of XP_UCHAR4 type, replacing with const XP_UCHAR*. 2009-04-07 04:23:56 +00:00
cursesmain.c move bonus square values into model: add API to set an array, and API 2011-11-16 19:01:11 -08:00
cursesmain.h changes to use glib main loop were incomplete, didn't include timers. 2011-09-19 18:28:19 -07: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 log timeout-dlg messages so there's a record 2010-10-28 18:44:37 -07:00
gtkask.h timeout in milliseconds instead of seconds 2010-09-16 04:46:04 -07:00
gtkchat.c implement dialog to edit chat text 2010-10-28 21:31:40 -07:00
gtkchat.h add test code for chat feature: display incoming chat and send via 2010-10-03 18:13:48 -07:00
gtkconnsdlg.c On receipt of connection-denied message via new rerror callback, put 2009-12-04 08:18:49 +00:00
gtkconnsdlg.h On receipt of connection-denied message via new rerror callback, put 2009-12-04 08:18:49 +00:00
gtkdraw.c Turn "Turn done" into "Pass" when the pending score is 0. To do that 2011-10-04 18:48:33 -07:00
gtkdraw.h Display relay state on board, horizontal scoreboard mode only for now. 2009-09-20 18:45:25 +00:00
gtkletterask.c turn on face-up tile picking for Android (though there's no prefs UI 2011-10-28 22:15:56 -07:00
gtkletterask.h turn on face-up tile picking for Android (though there's no prefs UI 2011-10-28 22:15:56 -07:00
gtkmain.c move bonus square values into model: add API to set an array, and API 2011-11-16 19:01:11 -08:00
gtkmain.h fix several crashers that prevented network games from working when 2011-11-15 06:13:25 -08:00
gtknewgame.c On receipt of connection-denied message via new rerror callback, put 2009-12-04 08:18:49 +00:00
gtknewgame.h On receipt of connection-denied message via new rerror callback, put 2009-12-04 08:18:49 +00:00
gtkntilesask.c Set -Wunused-parameter for those versions of gcc that support it, and 2006-08-16 13:44:44 +00:00
gtkntilesask.h Set -Wunused-parameter for those versions of gcc that support it, and 2006-08-16 13:44:44 +00:00
gtkpasswdask.c Set -Wunused-parameter for those versions of gcc that support it, and 2006-08-16 13:44:44 +00:00
gtkpasswdask.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtkutils.c start adding conns dialog 2009-02-24 04:34:37 +00:00
gtkutils.h start adding conns dialog 2009-02-24 04:34:37 +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
linuxbt.c fix some warnings when building linux client without debugging but 2009-09-20 21:51:29 +00:00
linuxbt.h Add and set a compile-time option so comms will set a periodic timer 2007-11-18 23:43:27 +00:00
linuxdict.c Don't behave badly in presence of empty dict: word count should be 0 2011-11-21 18:07:08 -08:00
linuxmain.c add param to dict_countWords in which it accumulates counts per word 2011-11-18 08:15:21 -08:00
linuxmain.h move pipe handling code to where can be shared by curses and gtk -- but use from curses is untested. 2011-01-24 22:20:47 -08: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
linuxsms.c Use the new common/strutils binToSms routines. For now, use glib's 2009-01-05 02:10:27 +00:00
linuxsms.h Add support to gtk app for tranport over "sms", with files containing 2008-12-29 01:35:29 +00:00
linuxudp.c Cleanup to build with relay enabled; don't enable any network features 2009-01-03 23:56:20 +00:00
linuxudp.h Add files forgotten with last checkin; add additional parameter to 2007-11-28 03:59:26 +00:00
linuxutl.c Add backtrace function. May only work on Linux but still very useful. 2011-11-28 18:12:56 -08:00
linuxutl.h move bonus square values into model: add API to set an array, and API 2011-11-16 19:01:11 -08:00
LocalizedStrIncludes.h add name of remote player to notification that remote player moved. 2011-07-15 18:13:55 -07:00
main.h changes to use glib main loop were incomplete, didn't include timers. 2011-09-19 18:28:19 -07:00
Makefile Add backtrace function. May only work on Linux but still very useful. 2011-11-28 18:12:56 -08:00
README.txt note that file's out-of-date 2010-09-11 01:28:04 -07:00
value.xpm first checkin 2003-11-01 05:35:29 +00:00
xptypes.h Add backtrace function. May only work on Linux but still very useful. 2011-11-28 18:12:56 -08:00

(This file is out-of-date and the instructions it contains don't work.)

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.