From: Andy Spencer Date: Fri, 9 Aug 2013 03:17:00 +0000 (+0000) Subject: Say score during join mode too X-Git-Url: http://pileus.org/git/?p=~andy%2Frhawk;a=commitdiff_plain;h=bbed76104b7dde2a835432954b03e199b5af634a;hp=586522b27075f72d3dd7f5cd604707673eff7c34 Say score during join mode too --- 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")