CVS Repository/ srcgamesbackgammoncommon_source/ one.c


OpenBSD release(s):
1.7 (79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59), 1.6 (58), 1.5 (57 56 55 54 53 52 51 50 49 48 47), 1.4 (46 45 44 43 42 41 40 39 38 37 36 35 34), 1.3 (33 32 31 30), 1.2 (29 28 27 26 25 24 23), 1.1.1.1 (22 21 20), 
Tags:
1.1.1.1 (netbsd_1_1), 
revision 1.7/ (Download) - annotate - Mon, 30 Nov 2015 08:19:25 UTC by tb
OpenBSD release(s): 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59
Changes since 1.6: +7 -12 (diff)
Pledge for backgammon and teachgammon.

Both are straightforward "stdio rpath tty" programs; teachgammon
exec's backgammon at the end, so give it "exec" in addition.

While there, ANSIfy

revision 1.6/ (Download) - annotate - Mon, 20 Jul 2015 23:04:17 UTC by schwarze
OpenBSD release(s): 58
Changes since 1.5: +2 -5 (diff)
Sometimes, the computer's move was printed, but the computer's men didn't
actually move.  This happened when "swap" was called earlier, and then
later in the final call to makmove(), swapping back would have been
required, but was erroneously denied.  Patch sent in pjanzen@.

It looks like the bug was already present in the original version
in 4.1a BSD in 1982.

revision 1.5/ (Download) - annotate - Tue, 27 Oct 2009 23:59:23 UTC by deraadt
OpenBSD release(s): 57 56 55 54 53 52 51 50 49 48 47
Changes since 1.4: +1 -9 (diff)
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

revision 1.4/ (Download) - annotate - Tue, 03 Jun 2003 03:01:38 UTC by millert
OpenBSD release(s): 46 45 44 43 42 41 40 39 38 37 36 35 34
Changes since 1.3: +3 -7 (diff)
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

revision 1.3/ (Download) - annotate - Sat, 23 Jun 2001 23:50:03 UTC by pjanzen
OpenBSD release(s): 33 32 31 30
Changes since 1.2: +6 -12 (diff)
termios -> curses

revision 1.2/ (Download) - annotate - Thu, 19 Mar 1998 11:13:23 UTC by pjanzen
OpenBSD release(s): 29 28 27 26 25 24 23
Changes since 1.1: +69 -67 (diff)
NetBSD changes and further improvements and corrections

revision 1.1/ (Download) - annotate - Wed, 18 Oct 1995 08:48:40 UTC by deraadt
Branch point for: 1.1.1.1
Initial revision

revision 1.1.1.1/ (Download) - annotate - Wed, 18 Oct 1995 08:48:40 UTC by deraadt
OpenBSD release(s): 22 21 20
Tags: netbsd_1_1
Changes since 1.1: none
initial import of NetBSD tree