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

Scoring of the game is not correct for 2nd place #28

Closed tedhyu closed 2 months ago

tedhyu commented 2 months ago

tridecco score

In a 3 player game, for the 1st and 3rd round, the score seems to be incorrect as the 2nd place player got 1 points and 3rd place player got 2 points. The 1st place player correctly got 3 points.

In the 2nd round, all scores are correct.

There seems to be some issues with who took 3rd place or 2nd place in a three player game after each round.

TKanX commented 2 months ago

Hi Dr. Yu,

I’ve identified the issue you mentioned. In a 3-player game, during the 1st and 3rd rounds, the score seems incorrect as the 2nd place player received 1 point and the 3rd place player received 2 points, while the 1st place player correctly got 3 points. However, all the scores in the 2nd round are correct. It looks like there's an issue with determining who took 2nd and 3rd place after each round in a 3-player game.

Today, I worked for about 10 hours and implemented several new features:

@tedhyu

tedhyu commented 2 months ago

That’s amazing Tony. Good job!

TKanX commented 2 months ago

Ensured correct player turn order and final ranking

https://github.com/tridecco/game-server/commit/915e6d94a811b6289117597a1b3552bb85d881fe