Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/boggle/boggle Double the threshold for crashing out wi...



details:   https://anonhg.NetBSD.org/src/rev/47a16f531077
branches:  trunk
changeset: 816244:47a16f531077
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Jun 25 23:15:41 2016 +0000

description:
Double the threshold for crashing out with "too many words".

diffstat:

 games/boggle/boggle/bog.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 1e9010fbf126 -r 47a16f531077 games/boggle/boggle/bog.h
--- a/games/boggle/boggle/bog.h Sat Jun 25 22:54:46 2016 +0000
+++ b/games/boggle/boggle/bog.h Sat Jun 25 23:15:41 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bog.h,v 1.3 2003/08/07 09:37:05 agc Exp $      */
+/*     $NetBSD: bog.h,v 1.4 2016/06/25 23:15:41 dholland Exp $ */
 
 /*-
  * Copyright (c) 1993
@@ -48,10 +48,10 @@
  * The theoretical maximum for MAXWORDLEN is ('a' - 1) == 96
  */
 #define MAXWORDLEN             40      /* Maximum word length */
-#define MAXPWORDS              200     /* Maximum number of player's words */
-#define MAXMWORDS              200     /* Maximum number of machine's words */
-#define MAXPSPACE              2000    /* Space for player's words */
-#define MAXMSPACE              4000    /* Space for machines's words */
+#define MAXPWORDS              400     /* Maximum number of player's words */
+#define MAXMWORDS              400     /* Maximum number of machine's words */
+#define MAXPSPACE              4000    /* Space for player's words */
+#define MAXMSPACE              8000    /* Space for machines's words */
 
 #define MAXCOLS                        20
 



Home | Main Index | Thread Index | Old Index