]> Pileus Git - ~andy/rhawk/commitdiff
Consistently mention users when it is there turn to act
authorJosh Cartwright <joshc@eso.teric.us>
Fri, 24 Oct 2014 21:16:45 +0000 (16:16 -0500)
committerAndy Spencer <andy753421@gmail.com>
Sat, 25 Oct 2014 04:22:55 +0000 (04:22 +0000)
spades.awk

index 0f9c7840ba6615c5788f95ce651556411cc48e1f..e71b623467e52c989f3540375ac0bcced781a3d3 100644 (file)
@@ -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"