summaryrefslogtreecommitdiff
path: root/games/backgammon
AgeCommit message (Collapse)Author
2004-01-01Only score as a Gammon or a Backgammon if the opponent hasn't removedjsm
any pieces, not if the opponent has removed pieces but has had a piece knocked back to the bar afterwards. Fixes Debian bug 185101 from Konstantin Seiler <list@kseiler.de>.
2004-01-01Make tutorial text match actual moves. From FreeBSD via OpenBSD.jsm
Fixes Debian bug 212478 from Jim W. Jaszewski <grok@sprint.ca>.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-04-26Grammar and punctuation fixes, from jmc@openbsd.wiz
2002-09-26Lots of minor fixes resulting from reading these man pages in detail.wiz
2002-09-18some makefile de-lintinglukem
2001-12-12MKfoo=no -> NOfoo=tv
2001-09-18Give initiali[sz]e all the "i"s it deserves.wiz
2001-04-06Negative exit code cleanup: Replace exit(-x) with exit(x).wiz
As seen on tech-userlevel.
2001-04-02Whitespace and/or punctuation fixes.wiz
2001-02-05remove redundant declchristos
2001-01-09convert to using .WAITlukem
2000-12-30${PRINTOBJDIR}ifysommerfeld
2000-05-08Use setgid(), not setregid().mycroft
1999-10-04update after change to return value of tputs() third argumentlukem
1999-09-17Fix some uses of NULL as non-pointer and 0 for null pointer.jsm
1999-09-09Include <time.h> in various places in the games where time() or time_tjsm
are used.
1999-09-08Add `__noreturn__' and `__unused__' attributes where appropriate tojsm
the games. This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
1999-08-14Adapt to change of "termcap.h".tron
1999-07-28This is a trivial fix to backgammon(6): '\a' is cleaner than '\007'.hubertf
Submitted in PR 8104 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-28This patch fixes a remaining relic of the backgammon(6) "executehubertf
saved game to continue playing" problem described in bin/6077. Patch contributed by Joseph Myers <jsm28@cam.ac.uk> in PR 8092.
1999-07-26This patch adds to backgammon(6) a couple of noreturn attributeshubertf
missed in bin/6144. Patch submitted in PR 8082 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-26This patch makes backgammon(6) check that, if you use the -s option tohubertf
recover a saved game, then you specify a file name. Patch submitted in PR 8081 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-26This adds a check for memory allocation failure to one place inhubertf
backgammon(6). The use of write(2) for the message may seem odd, but is used in another place in this game. (Actually, a lot of backgammon(6) could do with being substantially cleaned up.) Patch submitted in PR 8080 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-25Hardcore const poisoninghubertf
Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8057
1999-07-19As in previously sent patches: backgammon(6) does not need setgidhubertf
games privileges from dm, so should revoke them on startup. Patch submitteed in PR 8024 bye Joseph Myers <jsm28@cam.ac.uk>
1999-07-14Fix scoring, submitted in PR 7992 by Joseph Myers <jsm28@cam.ac.uk>hubertf
1999-03-13set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>lukem
1999-02-13convert from NOxxx= to MKxxx=no.lukem
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-10tgetent() handles const correctly in currenthubertf
1999-02-10The patch below makes the game backgammon(6) use `const' wherehubertf
appropriate. It also removes some obsolete, unused code to check the number of users on the system (obsoleted by dm); removes a prototype for an unused function that was removed earlier; and removes a control character from one message that was I think intended to clear the screen on some particular terminal (though I can't find the comment to that effect in any of the BSD source trees I have handy) but no longer serves any useful purpose. From PR 6580 by Joseph Myers <jsm28@cam.ac.uk>. Also contains two more patches, one in teachgammon/tutor.h (by Joseph) and one in common_source/fancy.c (by me).
1998-09-15Fix args processing of backgammon and teachgammon, closes pr 5345 byfrueauf
David Brownlee.
1998-09-13remove x bit from save files (PR#6077)hubertf
1998-09-13Remove unused function and mark non-returning ones(PR#6076, #6144 by Joseph ↵hubertf
Myers <jsm28@cam.ac.uk>)
1998-09-13mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf
1998-09-13Saved games can NOT be restored by executing the save file (PR#6077)hubertf
1998-09-13Remove unused function (PR#6076 by Joseph Myers <jsm28@cam.ac.uk>)hubertf
1998-09-11fix typo, as per PR#5867hubertf
1998-08-29Use symbolic names for signals(!), open(2)-constants, ...hubertf
Fix applied as per PR 6058 by Joseph Myers <jsm28@cam.ac.uk>
1998-03-29- really make extern char's extern.mrg
1998-02-02Does not need -lcompatchristos
1997-11-05Must have the correct library link order to be able to linkragge
the binaries static.
1997-10-22use CPPFLAGS instead of CFLAGSlukem
1997-10-16fix race condition when building libcommon with make -jlukem
1997-10-14define global vars with `extern' in "back.h", and only define once inlukem
init.c... backgammon works again...
1997-10-14use <termcap.h>lukem
1997-10-11common_source -> common, and GC some garbage variables.mycroft
1997-10-11Don't install this library, we only need this during the build.veego
1997-10-10KNF & WARNSify, and only compile common_source once/* (compiles 25% faster)lukem
1997-05-08Back out the .PATH.c changes. The .depend problem (and others)gwr
will be fixed using the new .NOPATH make feature instead.