tridecco / game-client-web

Tridecco Game Client is a frontend application designed to support Tridecco games. It provides user interface rendering, user interaction handling, dynamic content loading, and communication with the backend server.
https://play.tridecco.com
GNU Affero General Public License v3.0
1 stars 0 forks source link

Optimize Piece Display – Show Quantity for Multiple Same Pieces #33

Closed TKanX closed 3 weeks ago

TKanX commented 2 months ago

Description:

When a player has multiple pieces of the same type, instead of displaying each individual piece, the UI should consolidate them into a single display with a number representing the quantity. This applies when pieces are shown during moves and trades to prevent clutter and improve clarity.

Requirements:

TKanX commented 3 weeks ago

Consolidated identical pieces into a single element with a count badge

https://github.com/tridecco/game-client-web/commit/943f86d8a9be495ea745a4525db4f65594045a73

TKanX commented 3 weeks ago

Consolidated identical pieces into a single element with a count badge in showTrade

https://github.com/tridecco/game-client-web/commit/53e57a1c72d00d407f62e89cfe2d45b4846e41fa

TKanX commented 3 weeks ago

Image Image

@tedhyu

tedhyu commented 2 weeks ago

This looks great!