From: Andy Spencer Date: Sun, 11 May 2014 00:11:35 +0000 (+0000) Subject: Show game score at end of the round X-Git-Url: http://pileus.org/git/?p=~andy%2Frhawk;a=commitdiff_plain;h=e80c36c8fda99f2791a2e97d994d573ee9b8fb61 Show game score at end of the round --- diff --git a/spades.awk b/spades.awk index 2461501..d7e7ac8 100644 --- a/spades.awk +++ b/spades.awk @@ -299,9 +299,9 @@ function sp_score( bids, times, tricks) (sp_tricks[i] == 0 ? 1 : -1) } if (sp_scores[0] > sp_scores[1]) - say(sp_team(0) " lead " sp_scores[0] " to " sp_scores[1]) + say(sp_team(0) " lead " sp_scores[0] " to " sp_scores[1] " of " sp_playto) else if (sp_scores[1] > sp_scores[0]) - say(sp_team(1) " lead " sp_scores[1] " to " sp_scores[0]) + say(sp_team(1) " lead " sp_scores[1] " to " sp_scores[0] " of " sp_playto) else say("tied at " sp_scores[0]) }