Author Topic: Display chip color value AND chips per player  (Read 2177 times)

JCalamis

  • Newbie
  • *
  • Posts: 13
    • View Profile
Display chip color value AND chips per player
« on: December 17, 2021, 09:29:26 PM »
How would I modify the Chips display (<chips size="60" columns="1" values="right">) to reflect not only the color and value, but also the number of chips of each color per player and the total value of the color for each player?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 6216
    • View Profile
Re: Display chip color value AND chips per player
« Reply #1 on: December 28, 2021, 03:55:18 PM »
I assume you mean to add the number of chips of a color that players receive when buying-in.  You can do that by adding the counts attribute to the <chips> token.  For example:

<chips size="100" columns="1" values="right" counts="right">

Use the Token Builder to see all the options.  As for the total value for each color, I'm afraid there's no attribute for that.