xwords/xwords4/linux
Eric House 6b41628fbf dup: fix to call informMove(); make strings localizable
Was relying incorrectly on showRobotScores, which is FALSE on linux by default.
2020-02-05 22:03:12 -08:00
..
res test files for new bonus-squares-settable feature 2011-04-10 13:02:45 -07:00
scripts Squashed commit of the following: 2020-01-30 16:00:56 -08:00
.gitignore ignore log dir 2018-05-31 21:23:10 -07:00
CollegeEng_2to8.xwd rename dict symlink 2017-11-11 16:12:06 -08:00
curgamlistwin.c implement drawTimer for curses; allow invite-to-self 2020-02-02 19:12:35 -08:00
curgamlistwin.h handle relay-invites received 2020-01-31 13:29:36 -08:00
cursesask.c cleanup: unify gtk&curses; make duplicate mode work 2020-02-02 22:10:20 -08:00
cursesask.h cleanup: unify gtk&curses; make duplicate mode work 2020-02-02 22:10:20 -08:00
cursesboard.c cleanup: unify gtk&curses; make duplicate mode work 2020-02-02 22:10:20 -08:00
cursesboard.h handle window resize (more-or-less) 2020-01-31 12:29:45 -08:00
cursesdlgutil.c make curses version use udp socket when --db param passed. There's no 2013-01-24 07:49:49 -08:00
cursesdlgutil.h make curses version use udp socket when --db param passed. There's no 2013-01-24 07:49:49 -08:00
cursesdraw.c cleanup 2020-02-02 19:52:51 -08:00
cursesletterask.c make curses app more like the rest 2020-01-24 09:05:16 -08:00
cursesletterask.h make curses app more like the rest 2020-01-24 09:05:16 -08:00
cursesmain.c implement drawTimer for curses; allow invite-to-self 2020-02-02 19:12:35 -08:00
cursesmain.h make curses app more like the rest 2020-01-24 09:05:16 -08:00
cursesmenu.c handle window resize (more-or-less) 2020-01-31 12:29:45 -08:00
cursesmenu.h handle window resize (more-or-less) 2020-01-31 12:29:45 -08:00
dict.xwd comment out dead code I keep reading 2019-02-22 19:59:55 -08: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
gamesdb.c make query formatting mistakes less likely 2020-01-31 16:54:35 -08:00
gamesdb.h Squashed commit of the following: 2020-01-30 16:00:56 -08:00
gsrcwrap.c make curses app more like the rest 2020-01-24 09:05:16 -08:00
gsrcwrap.h make curses app more like the rest 2020-01-24 09:05:16 -08:00
gtkask.c add simple tell() as wrapper on ask() 2014-11-11 07:35:56 -08:00
gtkask.h add simple tell() as wrapper on ask() 2014-11-11 07:35:56 -08:00
gtkaskdict.c snapshot toward building with gtk3 2016-08-03 15:19:12 -07:00
gtkaskdict.h snapshot. New game button works and game gets saved in DB. Next: display and open from DB. 2013-01-05 16:08:19 -08:00
gtkaskm.c snapshot toward building with gtk3 2016-08-03 15:19:12 -07:00
gtkaskm.h progress on inviting via SMS 2013-12-12 06:08:56 -08:00
gtkboard.c cleanup: unify gtk&curses; make duplicate mode work 2020-02-02 22:10:20 -08:00
gtkboard.h cleanup: unify gtk&curses; make duplicate mode work 2020-02-02 22:10:20 -08:00
gtkchat.c snapshot toward building with gtk3 2016-08-03 15:19:12 -07:00
gtkchat.h change names of two types and variables of that type to make a common 2013-01-15 19:04:20 -08:00
gtkconnsdlg.c Revert "toward compiling with gcc8" 2019-01-29 09:05:54 -08:00
gtkconnsdlg.h change names of two types and variables of that type to make a common 2013-01-15 19:04:20 -08:00
gtkdraw.c implement drawTimer for curses; allow invite-to-self 2020-02-02 19:12:35 -08:00
gtkdraw.h fix to build with CURSES_ONLY flag 2016-12-22 08:57:54 -08:00
gtkinvit.c don't pass relayDevID unless inviting using relay 2020-01-08 11:20:51 -08:00
gtkinvit.h don't pass relayDevID unless inviting using relay 2020-01-08 11:20:51 -08:00
gtkletterask.c fix dialog not exiting when close button called 2019-08-19 07:50:33 +03:00
gtkletterask.h toward making tile picking work through rotations 2017-03-09 20:36:14 -08:00
gtkmain.c make same-device invites work on gtk 2020-02-02 15:29:14 -08:00
gtkmain.h make curses app more like the rest 2020-01-24 09:05:16 -08:00
gtknewgame.c Squashed commit of the following: 2020-01-30 16:00:56 -08:00
gtknewgame.h make curses app more like the rest 2020-01-24 09:05:16 -08:00
gtkntilesask.c snapshot toward building with gtk3 2016-08-03 15:19:12 -07:00
gtkntilesask.h snapshot. New game button works and game gets saved in DB. Next: display and open from DB. 2013-01-05 16:08:19 -08:00
gtkpasswdask.c fix remaining gtk dialogs 2016-08-04 12:43:33 -07:00
gtkpasswdask.h update email address in header comments: no code change 2006-01-08 01:25:02 +00:00
gtkutils.c snapshot toward building with gtk3 2016-08-03 15:19:12 -07:00
gtkutils.h beginning of support for invite-by-relay (which is mostly interesting 2015-07-01 07:10:45 -07: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
lindutil.c dup: fix to call informMove(); make strings localizable 2020-02-05 22:03:12 -08:00
lindutil.h Break part of util into dutil 2018-07-05 07:58:50 -07:00
linuxbt.c make curses app more like the rest 2020-01-24 09:05:16 -08:00
linuxbt.h toward improving bt support in gtk client: add scan button that only 2013-12-07 10:12:20 -08:00
linuxdict.c make it possible to run without an open game 2020-01-29 20:40:14 -08:00
linuxdict.h fix curses version so discon_ok2 tests work again. 2013-01-07 20:40:46 -08:00
linuxmain.c cleanup: unify gtk&curses; make duplicate mode work 2020-02-02 22:10:20 -08:00
linuxmain.h make gtk timer stuff work for both 2020-02-02 19:03:10 -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 cut logging in test app 2019-03-21 18:40:15 -07:00
linuxsms.h make curses app more like the rest 2020-01-24 09:05:16 -08:00
linuxudp.c add and use boolToStr 2017-01-22 14:15:29 -08:00
linuxudp.h Add files forgotten with last checkin; add additional parameter to 2007-11-28 03:59:26 +00:00
linuxutl.c implement drawTimer for curses; allow invite-to-self 2020-02-02 19:12:35 -08:00
linuxutl.h implement drawTimer for curses; allow invite-to-self 2020-02-02 19:12:35 -08:00
LocalizedStrIncludes.h dup: fix to call informMove(); make strings localizable 2020-02-05 22:03:12 -08:00
main.h cleanup: unify gtk&curses; make duplicate mode work 2020-02-02 22:10:20 -08:00
Makefile Squashed commit of the following: 2020-01-30 16:00:56 -08:00
README.txt note that file's out-of-date 2010-09-11 01:28:04 -07:00
relaycon.c add new log macro that includes file name and function 2020-02-02 15:29:14 -08:00
relaycon.h make curses app more like the rest 2020-01-24 09:05:16 -08:00
uuidhack.c compile with latest gcc (untested on old) 2018-04-06 21:49:51 -07:00
uuidhack.h compile with latest gcc (untested on old) 2018-04-06 21:49:51 -07:00
value.xpm first checkin 2003-11-01 05:35:29 +00:00
xptypes.h fix linux side to compile without DEBUG on 2020-02-02 15:29:14 -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.