Page 1 of 1

Determining multiple winners in a team game

Posted: 15 June 2025, 15:43
by JudgeWhyMe
Hello

I am implementing a team game (2 vs 2).
Each player has victory points, the team's victory points are the lowest victory points between the teammates.

I tried and look at Big Monster's code, and as far as I understood, the way to do that is:
- to set both teammates's player_score to the lowest score in players table in the database
- to set both teammates's player_score_aux to 1 in the winning team, and both teammates's player_score_aux to 0 for the losing team

However, in the end, I have only one winner (one of the winning team), even though both player in the winning team have the same player_score and player_score_aux in the DB

Am I missing something?

Thanks

Re: Determining multiple winners in a team game

Posted: 15 June 2025, 20:36
by Victoria_La
Is it this?
Note: In some team games like Tichu, Spades, and Belote, players do not gain or lose ELO by teammates. (Hover over the ELO changes to find 'Teammate: -100%')

To activate this modifierfor your game, please contact a BGA admin (hardcoded_team_games must be enabled manually).

Ref: https://en.doc.boardgamearena.com/Game_ ... os.inc.php

Re: Determining multiple winners in a team game

Posted: 15 June 2025, 21:29
by RicardoRix
IMO, player scores and end game rankings should be properly separated.
Why are the player scores suddenly meant to change from one meaning to another at the end of the game?

The best solution would be an optional field in player db and maybe something in gameinfos. This would allow much better customisation of the results page.

Re: Determining multiple winners in a team game

Posted: 17 June 2025, 01:32
by JudgeWhyMe
Thanks for the answers
To activate this modifierfor your game, please contact a BGA admin (hardcoded_team_games must be enabled manually).
I will try that, thanks
The best solution would be an optional field in player db and maybe something in gameinfos. This would allow much better customisation of the results page.
Something like adding a team_ranking field in player table, that would indicate which players are on the winning team and which are team on the loosing team?
But then how will BGA framework know how to use this field? by modifying gameinfos? What modifications should be made?

Thanks