Commits

larry committed 75cef78

Whoopsydoodle, broke the old scoring code slightly.

Comments (0)

Files changed (1)

 			s = ' '.join(str(x) for x in a)
 			array.append(s.rjust(19) + ' ... ' + str(points).rjust(4))
 
-		score(self.mileage(), str(self.mileage()), "miles")
+		mileage = self.mileage()
+		score(mileage, str(mileage), "miles")
 		if as_if_won or (total == (1000 if hand.extended else 700)):
 			score(400, "trip complete")
-			if total == 1000:
+			if mileage == 1000:
 				score(200, "extension")
 			if not len(hand.draw_pile):
 				score(300, "delayed action")