-void score(MODE)long MODE; {
- /* <0 if scoring, >0 if quitting, =0 if died or won */
-
-/* THE PRESENT SCORING ALGORITHM IS AS FOLLOWS:
- * OBJECTIVE: POINTS: PRESENT TOTAL POSSIBLE:
- * GETTING WELL INTO CAVE 25 25
- * EACH TREASURE < CHEST 12 60
- * TREASURE CHEST ITSELF 14 14
- * EACH TREASURE > CHEST 16 224
- * SURVIVING (MAX-NUM)*10 30
- * NOT QUITTING 4 4
- * REACHING "CLOSNG" 25 25
- * "CLOSED": QUIT/KILLED 10
- * KLUTZED 25
- * WRONG WAY 30
- * SUCCESS 45 45
- * CAME TO WITT'S END 1 1
- * ROUND OUT THE TOTAL 2 2
+void score(long MODE) {
+/* arg is <0 if scoring, >0 if quitting, =0 if died or won */
+ long MXSCOR = 0;
+
+/* The present scoring algorithm is as follows:
+ * Objective: Points: Present total possible:
+ * Getting well into cave 25 25
+ * Each treasure < chest 12 60
+ * Treasure chest itself 14 14
+ * Each treasure > chest 16 224
+ * Surviving (MAX-NUM)*10 30
+ * Not quitting 4 4
+ * Reaching "game.closng" 25 25
+ * "Closed": Quit/Killed 10
+ * Klutzed 25
+ * Wrong way 30
+ * Success 45 45
+ * Came to Witt's End 1 1
+ * Round out the total 2 2