summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 29e07cf..beae39f 100644
--- a/main.go
+++ b/main.go
@@ -58,6 +58,7 @@ func game(numPlayers, faces int) {
fmt.Printf("Player %d threw a %d\n", id, outcome)
if outcome == winningNumber {
+ fmt.Printf("Player %d threw the winning number! Their score is %d\n", id, score)
scores <- Score{id: id, score: score}
return
}