]> Pileus Git - ~andy/rhawk/commitdiff
Display spades score and bag limits
authorAndy Spencer <andy753421@gmail.com>
Thu, 16 May 2013 08:04:50 +0000 (08:04 +0000)
committerAndy Spencer <andy753421@gmail.com>
Thu, 16 May 2013 08:04:50 +0000 (08:04 +0000)
spades.awk

index 38d51bec7407d19019ace1b35b42ebc9c9ffba63..ae7393a813a6998213b946dedc67a3cdb8d1ed3f 100644 (file)
@@ -604,6 +604,9 @@ sp_state == "play" &&
                    sp_order[2] " " sp_order[3])
        }
        if (sp_state == "bid" || sp_state == "play") {
+               say("playing to: " \
+                   sp_playto " points, " \
+                   sp_limit  " bags")
                say(sp_team(0) ": " \
                    int(sp_scores[0]) " points, " \
                    int(sp_bags(0))   " bags")