summaryrefslogtreecommitdiffstats
path: root/gomoku/makemove.c
diff options
context:
space:
mode:
Diffstat (limited to 'gomoku/makemove.c')
-rw-r--r--gomoku/makemove.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gomoku/makemove.c b/gomoku/makemove.c
index ca270068..4b23ba9c 100644
--- a/gomoku/makemove.c
+++ b/gomoku/makemove.c
@@ -1,4 +1,4 @@
-/* $NetBSD: makemove.c,v 1.4 1997/10/10 13:36:05 lukem Exp $ */
+/* $NetBSD: makemove.c,v 1.5 1999/09/08 21:17:49 jsm Exp $ */
/*
* Copyright (c) 1994
@@ -41,18 +41,18 @@
#if 0
static char sccsid[] = "@(#)makemove.c 8.2 (Berkeley) 5/3/95";
#else
-__RCSID("$NetBSD: makemove.c,v 1.4 1997/10/10 13:36:05 lukem Exp $");
+__RCSID("$NetBSD: makemove.c,v 1.5 1999/09/08 21:17:49 jsm Exp $");
#endif
#endif /* not lint */
#include "gomoku.h"
/* direction deltas */
-int dd[4] = {
+const int dd[4] = {
MRIGHT, MRIGHT+MDOWN, MDOWN, MDOWN+MLEFT
};
-int weight[5] = { 0, 1, 7, 22, 100 };
+const int weight[5] = { 0, 1, 7, 22, 100 };
/*
* Return values: