From c446410dce2ca6184c55c5efeb1a48f253078341 Mon Sep 17 00:00:00 2001 From: Josh Cartwright Date: Fri, 24 Oct 2014 16:16:45 -0500 Subject: [PATCH] Consistently mention users when it is there turn to act --- spades.awk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spades.awk b/spades.awk index 0f9c784..e71b623 100644 --- a/spades.awk +++ b/spades.awk @@ -182,7 +182,7 @@ function sp_deal( shuf) sp_dealer = (sp_dealer+1)%4 sp_turn = sp_dealer sp_player = sp_order[sp_turn] - say("Bidding starts with " sp_player "!") + say(sp_player ": bidding starts with you!") } function sp_hand(to, who, sort, str) @@ -595,7 +595,7 @@ sp_state == "bid" && sp_nil[i] = 0 } if (sp_turn != sp_dealer) { - say("Bidding goes to " sp_player "! (" sp_bidders() ")") + say(sp_player ": bidding goes to you! (" sp_bidders() ")") } else { for (p in sp_players) say(p, "You have: " sp_hand(p, p)) @@ -608,7 +608,7 @@ sp_state == "bid" && } } if (sp_state == "play") - say("Play starts with " sp_player "!") + say(sp_player ": play starts with you!") } } } @@ -648,7 +648,7 @@ sp_state == "pass" && delete sp_hands[sp_order[i]][_card] sp_hands[sp_order[_partner]][_card] = 1 } - say(sp_channel, "Cards have been passed, play starts with " sp_player "!") + say(sp_channel, sp_player ": cards have been passed, play starts with you!") for (p in sp_players) say(p, "You have: " sp_hand(p, p)) sp_state = "play" -- 2.43.2