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

Implement Piece Count Display Below Player Avatar #30

Closed TKanX closed 3 weeks ago

TKanX commented 2 months ago

Description:

In the game, a piece count display should be added below each player's avatar. The count will show the number of pieces the player owns, with each piece type displayed in its corresponding color using a gradient effect.

Requirements:

TKanX commented 3 weeks ago

Added support for displaying remaining pieces count below player avatars in GameUI

https://github.com/tridecco/game-client-web/commit/3fded5dd919a888cd362711f39760310bdc37307

TKanX commented 3 weeks ago

Updated player pieces count in Game on receiving game:pieces event

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

TKanX commented 3 weeks ago

Image

@tedhyu

TKanX commented 3 weeks ago

Implemented piece count display below player avatar

https://github.com/tridecco/game-client-web/commit/3f45fbad8b8e0dfe65f011707f1bf711092a8736

TKanX commented 3 weeks ago

Corrected index usage in showPieceSelection method

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

TKanX commented 3 weeks ago

Screenshot_20241104_180327

@tedhyu