From 83d87cc2642c6958b99e98c44891b486b944c6fe Mon Sep 17 00:00:00 2001 From: tls Date: Sat, 28 Dec 1996 18:56:57 +0000 Subject: add gomoku game, from 4.4BSD-Lite2 --- gomoku/Makefile | 3 ++- gomoku/bdinit.c | 8 +++++++- gomoku/bdisp.c | 6 ++++++ gomoku/gomoku.6 | 2 ++ gomoku/gomoku.h | 2 ++ gomoku/main.c | 6 ++++++ gomoku/makemove.c | 6 ++++++ gomoku/pickmove.c | 6 ++++++ gomoku/stoc.c | 6 ++++++ 9 files changed, 43 insertions(+), 2 deletions(-) (limited to 'gomoku') diff --git a/gomoku/Makefile b/gomoku/Makefile index 025ed084..c4f4ea1c 100644 --- a/gomoku/Makefile +++ b/gomoku/Makefile @@ -1,8 +1,9 @@ +# $NetBSD: Makefile,v 1.2 1996/12/28 18:56:57 tls Exp $ # @(#)Makefile 8.1 (Berkeley) 7/24/94 PROG= gomoku SRCS= bdinit.c bdisp.c main.c makemove.c pickmove.c stoc.c -MAN6= gomoku.0 +MAN= gomoku.6 DPADD= ${LIBCURSES} ${LIBTERM} LDADD= -lcurses -ltermlib HIDEGAME=hidegame diff --git a/gomoku/bdinit.c b/gomoku/bdinit.c index dd3c1799..f9219fdd 100644 --- a/gomoku/bdinit.c +++ b/gomoku/bdinit.c @@ -1,3 +1,5 @@ +/* $NetBSD: bdinit.c,v 1.2 1996/12/28 18:56:58 tls Exp $ +*/ /* * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. @@ -35,7 +37,11 @@ */ #ifndef lint -static char sccsid[] = "@(#)bdinit.c 8.2 (Berkeley) 5/3/95"; +#if 0 +static char sccsid[] = "from: @(#)bdinit.c 8.2 (Berkeley) 5/3/95"; +#else +static char rcsid[] = "$NetBSD: bdinit.c,v 1.2 1996/12/28 18:56:58 tls Exp $"; +#endif #endif /* not lint */ #include diff --git a/gomoku/bdisp.c b/gomoku/bdisp.c index da7dfb4f..bcb62c8e 100644 --- a/gomoku/bdisp.c +++ b/gomoku/bdisp.c @@ -1,3 +1,5 @@ +/* $NetBSD: bdisp.c,v 1.2 1996/12/28 18:56:59 tls Exp $ +*/ /* * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. @@ -35,7 +37,11 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)bdisp.c 8.2 (Berkeley) 5/3/95"; +#else +static char rcsid[] = "$NetBSD: bdisp.c,v 1.2 1996/12/28 18:56:59 tls Exp $"; +#endif #endif /* not lint */ #include "gomoku.h" diff --git a/gomoku/gomoku.6 b/gomoku/gomoku.6 index 7888e1cd..c12c6d32 100644 --- a/gomoku/gomoku.6 +++ b/gomoku/gomoku.6 @@ -1,3 +1,5 @@ +.\" $NetBSD: gomoku.6,v 1.2 1996/12/28 18:57:00 tls Exp $ +.\" .\" Copyright (c) 1994 .\" The Regents of the University of California. All rights reserved. .\" diff --git a/gomoku/gomoku.h b/gomoku/gomoku.h index 173e329f..e7c4ed55 100644 --- a/gomoku/gomoku.h +++ b/gomoku/gomoku.h @@ -1,3 +1,5 @@ +/* $NetBSD: gomoku.h,v 1.2 1996/12/28 18:57:01 tls Exp $ +*/ /* * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. diff --git a/gomoku/main.c b/gomoku/main.c index d6a076c2..32bd04d4 100644 --- a/gomoku/main.c +++ b/gomoku/main.c @@ -1,3 +1,5 @@ +/* $NetBSD: main.c,v 1.2 1996/12/28 18:57:01 tls Exp $ +*/ /* * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. @@ -41,7 +43,11 @@ static char copyright[] = #endif /* not lint */ #ifndef lint +#if 0 static char sccsid[] = "@(#)main.c 8.4 (Berkeley) 5/4/95"; +#else +static char rcsid[] = "$NetBSD: main.c,v 1.2 1996/12/28 18:57:01 tls Exp $"; +#endif #endif /* not lint */ #include diff --git a/gomoku/makemove.c b/gomoku/makemove.c index b67b3e77..7d6a95e7 100644 --- a/gomoku/makemove.c +++ b/gomoku/makemove.c @@ -1,3 +1,5 @@ +/* $NetBSD: makemove.c,v 1.2 1996/12/28 18:57:02 tls Exp $ +*/ /* * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. @@ -35,7 +37,11 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)makemove.c 8.2 (Berkeley) 5/3/95"; +#else +static char rcsid[] = "$NetBSD: makemove.c,v 1.2 1996/12/28 18:57:02 tls Exp $"; +#endif #endif /* not lint */ #include "gomoku.h" diff --git a/gomoku/pickmove.c b/gomoku/pickmove.c index 197d3c5c..ce5d335f 100644 --- a/gomoku/pickmove.c +++ b/gomoku/pickmove.c @@ -1,3 +1,5 @@ +/* $NetBSD: pickmove.c,v 1.2 1996/12/28 18:57:04 tls Exp $ +*/ /* * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. @@ -35,7 +37,11 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)pickmove.c 8.2 (Berkeley) 5/3/95"; +#else +static char rcsid[] = "$NetBSD: pickmove.c,v 1.2 1996/12/28 18:57:04 tls Exp $"; +#endif #endif /* not lint */ #include diff --git a/gomoku/stoc.c b/gomoku/stoc.c index 63669151..71a9dde2 100644 --- a/gomoku/stoc.c +++ b/gomoku/stoc.c @@ -1,3 +1,5 @@ +/* $NetBSD: stoc.c,v 1.2 1996/12/28 18:57:05 tls Exp $ +*/ /* * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. @@ -35,7 +37,11 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)stoc.c 8.1 (Berkeley) 7/24/94"; +#else +static char rcsid[] = "$NetBSD: stoc.c,v 1.2 1996/12/28 18:57:05 tls Exp $"; +#endif #endif /* not lint */ #include "gomoku.h" -- cgit v1.2.3-56-ge451