summaryrefslogtreecommitdiffstats
path: root/gomoku
diff options
context:
space:
mode:
authortls <tls@NetBSD.org>1996-12-28 18:56:57 +0000
committertls <tls@NetBSD.org>1996-12-28 18:56:57 +0000
commit83d87cc2642c6958b99e98c44891b486b944c6fe (patch)
tree50813bf70d9f7fc032982ac561363bd554a6fc20 /gomoku
parent13b5b0009082f9bc2c991c326ca650178761bdff (diff)
downloadbsdgames-darwin-83d87cc2642c6958b99e98c44891b486b944c6fe.tar.gz
bsdgames-darwin-83d87cc2642c6958b99e98c44891b486b944c6fe.tar.zst
bsdgames-darwin-83d87cc2642c6958b99e98c44891b486b944c6fe.zip
add gomoku game, from 4.4BSD-Lite2
Diffstat (limited to 'gomoku')
-rw-r--r--gomoku/Makefile3
-rw-r--r--gomoku/bdinit.c8
-rw-r--r--gomoku/bdisp.c6
-rw-r--r--gomoku/gomoku.62
-rw-r--r--gomoku/gomoku.h2
-rw-r--r--gomoku/main.c6
-rw-r--r--gomoku/makemove.c6
-rw-r--r--gomoku/pickmove.c6
-rw-r--r--gomoku/stoc.c6
9 files changed, 43 insertions, 2 deletions
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 <string.h>
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 <curses.h>
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 <stdio.h>
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"