From bbed76104b7dde2a835432954b03e199b5af634a Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Fri, 9 Aug 2013 03:17:00 +0000 Subject: [PATCH] Say score during join mode too --- spades.awk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spades.awk b/spades.awk index cccfc6a..d0a6260 100644 --- a/spades.awk +++ b/spades.awk @@ -618,15 +618,17 @@ sp_state == "play" && if (sp_state == "new") { say("There is no game in progress") } + if (sp_state ~ "join|bid|pass|play") { + say("Playing to: " \ + sp_playto " points, " \ + sp_limit " bags") + } if (sp_state == "join") { say("Waiting for players: " \ sp_order[0] " " sp_order[1] " " \ sp_order[2] " " sp_order[3]) } if (sp_state ~ "bid|pass|play") { - say("Playing to: " \ - sp_playto " points, " \ - sp_limit " bags") say(sp_team(0) ": " \ int(sp_scores[0]) " points, " \ int(sp_bags(0)) " bags") -- 2.43.2