-/* $NetBSD: makemove.c,v 1.4 1997/10/10 13:36:05 lukem Exp $ */
+/* $NetBSD: makemove.c,v 1.6 2000/03/13 23:57:23 soren Exp $ */
/*
* Copyright (c) 1994
#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.6 2000/03/13 23:57:23 soren 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:
* MOVEOK everything is OK.
* RESIGN Player resigned.
* ILLEGAL Illegal move.
- * WIN The the winning move was just played.
+ * WIN The winning move was just played.
* TIE The game is a tie.
*/
int