aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_score.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_score.go')
-rw-r--r--internal/game/cmd_score.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/game/cmd_score.go b/internal/game/cmd_score.go
index 0554f32..b493e80 100644
--- a/internal/game/cmd_score.go
+++ b/internal/game/cmd_score.go
@@ -98,9 +98,10 @@ func (g *Game) doScore(sess *net.Session) {
content(row1)
creditsStr := g.colorize(sess, "credits_pickup", formatInt(p.Credits))
+ chipsStr := g.colorize(sess, "chips_pickup", formatInt(countChips(p)))
styleStr := color.Render(mode, color.Parse("4B"), fmt.Sprintf("Style: %s", p.AttackStyle))
invStr := fmt.Sprintf("Inv: %d/28", 28-p.FreeSlots())
- row2 := padded("Credits: "+creditsStr, 20) + padded(styleStr, 24) + invStr
+ row2 := padded("Credits: "+creditsStr, 19) + padded("Chips: "+chipsStr, 16) + padded(styleStr, 22) + invStr
content(row2)
gap()