boggle misprints the score at the end.

Gives a total found words out of missed words, rather than out of all words. The patch below fixes this.

thanks,

Graeme





--- mach.c.orig Thu May 14 15:04:56 2009
+++ mach.c      Thu May 14 15:05:19 2009
@@ -174,7 +174,7 @@
       denom2 = tnpwords + tnmwords;

       move(SCORE_LINE, SCORE_COL);
-       printw("Score: %d out of %d\n", npwords, nmwords);
+       printw("Score: %d out of %d\n", npwords, (npwords + nmwords));
       move(SCORE_LINE + 1, SCORE_COL);
       printw("Percentage: %0.2f%% (%0.2f%% over %d game%s)\n",
       denom1 ? (100.0 * npwords) / (double) (npwords + nmwords) : 0.0,

Reply via email to